Then type cd d:\Lessons\PythonProjects also followed with Enter ↵Īssuming you have an environment with the name: my-env previously setup in your Anaconda environment. Go ahead and select Anaconda Prompt from the results displayed.Ĭhange to the folder path where you would like to have your new or existing Jupyter notebook(s).Į.g if my Jupyter notebook will be in, or is already in D:\Lessons\PythonProjects, at the prompt, type: Type Anaconda in the search box of your Windows taskbar, this will bring up some search results related to your search term of which the Anaconda Prompt will be a part of. Interestingly, opening Jupyter notebook from any folder through the anaconda prompt is fairly easy, if one has little knowledge of DOS commands and Anaconda prompt commands.īut here is how you can open a Jupyter notebook in a specified folder through the Anaconda prompt: Open Jupyter notebobook in specified Anaconda Environment from any folder through the Anaconda Prompt Oh yes, I was frustrated and angry and this led me to decide to find a solution that is guaranteed to work for anyone who follows this method on a Windows O/S platform.Įventually, after some couple of hours playing with the Anaconda prompt and the installation folder, I was able to come up with a beautiful solution and I thought I'd share it with you all and protect you from going through the same torture I went through. Out of all the results, of particular interest to me was the method of using the command - jupyter notebook -generate-config - on the Anaconda prompt.Īfter spending what seemed like an eternity diligently following all the instructions I could lay my hands on, for this method and several other suggestions, doing it all over again to ensure I was doing it all well, I still was unable to make it work. I set out researching on this and saw a lot of great suggestions on how to get this done. And also, does not take long to figure out as well.Īlthough, I could do this through a series of commands on the Anaconda prompt, imagine what it would be like to do this with a single command? I decided to give the Anacoda prompt a try, whoa and it works. Noticing this, I tried using the navigator to open my existing notebooks from a specified folder, no luck yet. But every time I tried opening my existing Jupyter notebooks from the Anaconda navigator, it always ended up opening a new notebook that defaulted to drive C. I recently installed Anaconda on my machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |