简体   繁体   中英

Jupyter notebook command not recognized in conda environment

I recently installed miniconda as I am following a course on ML and data science.

Then I created a virtual environment name env with the help of conda assistant that miniconda provides.
And install all my library in that env . Also installed Jupyter notebook, and commands are like.

To install Jupyter note book in my virtual environment name env

(C:\Users\username\Desktop\my-project-1\env)
C:\Users\username\Desktop\my-project-1> conda install jupyter

To run the Jupyter notebook inside my env i use

(C:\Users\username\Desktop\my-project-1\env)
C:\Users\username\Desktop\my-project-1>jupyter notebook

And this command was working fine. But I don't know how today when I wrote the same command it is showing me.

'jupyter' is not recognized as an internal or external command, operable programme or batch file.

在此处输入图像描述

Taking a guess here (I'll change my answer depending on new information), but if it was installed and worked, then what probably happened is that you aren't in the activated conda environment. However, I'm a bit confused by your environment list as the name of the env environment is not provided (I don't see test above "base"). It should be something simple/short, like "my_test_env". It should not be a path to a folder.

If you properly activated the right environment then conda info --envs will list your environments and there should be a "*" indicating which environment you're using in that terminal.

Also, try conda list to see what is included and check for 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