Restart the terminal for this new command to take effect. bash_aliases: alias jup='cd /home/kauff/notebooks & jupyter notebook -no-browser. I made an alias for the juypter command by putting this command in my.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.made a symlink between my C:/Users/kauff/Documents/JupyterNotebooks folder (where I put my downloaded notebooks in Windows) to my Ubuntu notebook directory:.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 If it worked, you should see your notebooks! In the terminal, it will give you a link to paste into your browser. it's necessary since you don't have a browser (probably) in your subsystem. The no browser flag will still run Jupyter on port 8888, but it won't pop it open automatically. To open jupyter, type $ jupyter notebook -no-browser.To do this, I added "export PATH=/home/kauff/anaconda3/bin:$PATH" to the bottom of my ~/.bashrc file. Manually add the Anaconda bin folder to your PATH.If it doesn't have anaconda in the path, do the next step. Mine is /home/kauff/anaconda3/bin/python. It should print a path that has anaconda in it. To test that it worked, run $ which python.Close the terminal and reopen it to reload.Optionally install VS Code when prompted (some have reported this installation doesn't work - checkout ). When asks you if you'd like the installer to prepend it to the path, say yes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |