halfrelop.blogg.se

Pip install on windows
Pip install on windows









You could also running the install commands directly inside your Jupyter notebook by prefixing them with !, e.g. Then, activate that environment in your command prompt (will vary depending on what it is and how you installed Jupyter), and run your install commands again. This will give either the path to the base Python install, or to the specific virtual/conda env being used. Figure out what Python environment Jupyter is using by checking the output of import sys print(sys.executable) in your Jupyter Notebook.Of course, this assumes it is installed there (or you install it). Launch Jupyter Notebook in whatever Python environment you are installing packages into by typing jupyter notebook at the same command prompt.

pip install on windows

However, assuming this is just a matter of ensuring packages install in the same environment as the Jupyter kernel you are running, this comes down to one of two options:

pip install on windows pip install on windows

Unfortunately, in my experience, Jupyter has surprisingly limited convenience facilities for easily working in multiple environments compared to other scientific IDEs like Spyder.











Pip install on windows