Sam Yao
Sam Yao

Reputation: 3

How to switch python env in Jupyter

My development environment is Anaconda3 with a virtual environment "OpenCV3". I can run Jupyter in my main enviroment, but I don't know how to run jupyter in virtual environment "OpenCV3".

could you please show me how to do it?

Upvotes: 0

Views: 1948

Answers (1)

Stelios
Stelios

Reputation: 5521

The following options are available (there may be others available)

  • change conda environment from the terminal (using the appropriate command corresponding to your OS) and run jupyter notebook.
  • Install an ipython kernel for each environment as described in this answer. This will enable you to switch between environments directly in Jupyter, without having to manually switch among environments, from the Kernel>Change Kernel menu.

Upvotes: 1

Related Questions