Provides Conda environment and package access extension from within Jupyter.
This extensions adds a Conda tab to the Jupyter file browser. Selecting the Conda tab will display:
You can click on the name of an environment to select it. That will allow you to:
There are two ways to create an environment:
Create a new environment
Use the New Environment button at the top of the page, and select Python 2
, Python 3
, or R
to create a
base environment with the corresponding packages. Note that if you want to run a
Jupyter python kernel in the new environment, you must also install the ipykernel
package in the environment.
Clone an existing environment Click the clone button next to an environment in the list, and enter the desired name of the new environment.
This extension adds a Conda Packages item to the Kernel menu. Selecting this item displays the list of Conda packages in the environment associated with the running kernel, and the list of available packages. You can perform the same actions as in the Conda tab, but only against the current environment.
conda create -y -n nb_conda python
conda install -y -n nb_conda --file requirements.txt -c conda-forge
source activate nb_conda
python setup.py develop
jupyter nbextension install nb_conda --py --sys-prefix --symlink
jupyter nbextension enable nb_conda --py --sys-prefix
jupyter serverextension enable nb_conda --py --sys-prefix
/conda/