After create the virtual environment, start jupyter can’t find the environment, the solution is as follows:
1. First activate the virtual environment
activate py3
2. Install ipykernel
conda install ipykernel
3. Create the kernel file
conda install -n py3 ipykernel
4. Write the environment into the Notebook kernel
python -m ipykernel install --user --name py3 --display-name "py3"
The first Py3 is the name of the virtual environment, and the second Py3 is the name displayed in the Jupyter.
The process of creating the virtual environment is really bumpy. I just encountered another problem. After creating a new Notebook, it keeps showing that it is connecting to the service. pip uninstall tornado
pip install tornado==5.0.0
Reference links
add conda jupyter environment jupyter notebook open file times wrong: the connection to backend service failed to build a…
Read More:
- Jupyter notebook couldn’t find CONDA’s virtual environment
- Points for attention in setting up robot framework + Python 3.7.0 environment
- On the kernel error of jupyter notebook
- [Fixed]Error executing Jupyter command ‘notebook’: [Errno ‘jupyter-notebook’ not found] 2
- Change Jupyter Notebook Default Directory
- Nginx manager jupyter notebook v1.0.0 http websocket
- Exception: jupyter command Jupiter notebook not found
- Error converting jupyter notebook to PDF
- Error importing keras in jupyter Notebook: modulenotfounderror: no module named ‘keras’ solution
- Error kernel restart: restart failed was reported in the background of jupyter notebook
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- [Solved] Jupyter Notebook Error 500: Internal Server Error
- CentOS 8.2 installation-solve Error setting up base repository
- Elmentui form. When setting input type = number, remove the up and down arrows
- VirtualBox + CentOS 7 virtual machine setting static IP address of host only NIC
- Virtual environment: error: virtualenv is not compatible with this system or executable
- Solution to “error: invalid environment block” when Ubuntu starts up
- Using CONDA virtual environment in pychar
- CONDA creating virtual environment and common CONDA commands
- An error commandnotfounderror (to initialize your shell) is reported when activating the virtual environment