简体   繁体   中英

Can I open Jupyter notebook in a non-conda environment?

Hi I just installed conda.

When I open my terminal and type 'jupyter notebook', it automatically open it with conda environment.

I want to know if it is possible to open it in a non-conda environment? (that's to say, conda is now set as default when I open it, right?)

Thank you very much. enter image description here

Conda is default environment for you now. For change First activate the conda environment from the command line, then launch the notebook server.

For example:

$ source activate env_name
$ jupyter notebook

You can find more information in here

You most likely enabled auto activation of the conda environment during installation. Take a look at How do I prevent Conda from activating the base environment by default? to disable it (most likely via conda config --set auto_activate_base false ). Then, you can double check via which python that you're not getting the conda version and install jupyter with your non-conda, system Python environnment - via python -m pip install jupyter .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM