August 2019
Beginner
482 pages
12h 56m
English
There is one non-obvious caveat to using Conda environments: it is easy to run Jupyter in the wrong environment so that it won't see the packages you have installed, or the version of Python will differ. In fact, while you can run Jupyter from a specific environment, this method is not recommended: as Jupyter moved from a Python-specific workflow to the concept of an abstract notebook-kernel protocol, it is recommended you execute it from the base operating system, giving it access to all environments and kernels at once.
There are two ways to register a specific environment in Jupyter. First, you can use the dedicated registration command of ipykernel from the environment:
conda activate myenvpython -m ipykernel install ...
Read now
Unlock full access