Jupyter notebook can't find a solution to the virtual environment

foreword

When starting jupyter notebook, the original virtual environment cannot be found. The corresponding solution is as follows

1. As shown in the question

The following problem occurs:

When the server was configured conda env list, it was found that there was this virtual environment
insert image description here
, but after starting the jupyter notebook, when the new version was created, it was found that there was no such virtual environment
insert image description here

2. Principle analysis

Generally, the virtual environment is not displayed, and most of them have less installed ipykernelthis package

3. Solutions

After entering the virtual environment, conda listcheck whether there is a corresponding pykernelpackage i by

Generally without this package, install it as follows:conda install ipykernel

Guess you like

Origin blog.csdn.net/weixin_47872288/article/details/127812454