Python 3.6.5:: Continuum Analytics, Inc.creating default environment.installation finished.Do you wish the installer to prepend the Anaconda install locationto PATH in your /home/username/.bashrc? yes nono yesPrepending PATH=/home/username/anaconda/bin to PATH in /home/username/.bashrcA backup will be made to: /home/username/.bashrc-anaconda.bakDo you wish to proceed with the installation of Microsoft VSCode? yes no noFor this change to become active, you have to open a new terminal.Thank you for installing Anaconda!9. Open a new Terminal window by going to “Show Applications” and selecting the Terminal.10. Type the command in red to verified Anaconda was installed.
Using the Linux subsystem, you just type jupyter lab in the Bash shell and use the provided URL in your browser — on Windows! However, all the code is running in the Ubuntu distribution. Copy the Jupyter Notebook launcher from the menu to the desktop. Right click on the new launcher and change the Target field, change%USERPROFILE% to the full path of the folder which will contain all the notebooks. Double-click on the Jupyter Notebook desktop launcher (icon shows IPy) to start the Jupyter Notebook App. The notebook interface will appear in a new browser window or tab.
Note: $ denotes the start of a command. Don't actually type this. Steps to Install Anaconda on Windows Ubuntu Terminal. Install WSL (Ubuntu for Windows - can be found in Windows Store). I recommend the latest version (I'm using 18.04) because there are some bugs they worked out during 14/16.
Go to to find the list of Anaconda releases. Select the release you want. I have a 64-bit computer, so I chose the latest release ending in x8665.sh.
If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose Anaconda3-5.2.0-Linux-x8664.sh.
From the terminal run wget VERSION. Example: $ wget Run the installation script: $ bash AnacondaYOUR VERSION.sh ( $ bash Anaconda3-5.2.0-Linux-x8664.sh). Read the license agreement and follow the prompts to accept. When asks you if you'd like the installer to prepend it to the path, say yes. Optionally install VS Code when prompted. Close the terminal and reopen it to reload.bash configs.
To test that it worked, run $ which python. It should print a path that has anaconda in it. Mine is /home/kauff/anaconda3/bin/python. If it doesn't have anaconda in the path, do the next step. Otherwise, move to step 11.
Manually add the Anaconda bin folder to your PATH. To do this, I added 'export PATH=/home/kauff/anaconda3/bin:$PATH' to the bottom of my /.bashrc file. To open jupyter, type $ jupyter notebook -no-browser. The no browser flag will still run Jupyter on port 8888, but it won't pop it open automatically. It's necessary since you don't have a browser (probably) in your subsystem.
In the terminal, it will give you a link to paste into your browser. If it worked, you should see your notebooks!Leave a comment on anything you see that doesn't work and I can look into it! A few other things that I did out of laziness but aren't necessary. made a symlink between my C:/Users/kauff/Documents/JupyterNotebooks folder (where I put my downloaded notebooks in Windows) to my Ubuntu notebook directory:In the WSL terminal:. cd. ln -s /mnt/c/Users/kauff/Documents/JupyterNotebooks/ notebooks Now when you look at Jupyter on:8888, you should see a notebooks folder that has everything your C:/Users/kauff folder has.
I made an alias for the juypter command by putting this command in my.bashaliases: alias jup='cd /home/kauff/notebooks && jupyter notebook -no-browser. Restart the terminal for this new command to take effect.
To test, simply type jup from anywhere in the ubuntu directory and it will take you notebooks folder and run jupyter. When you copy and paste the URL, you'll see everything in your C:/Users/kauff/JupyterNotebooks folder.Sources.