Minimalist Python learning tutorial-----virtual environment configuration and management in Jupyter Notebook under Anaconda

Jupyter virtual environment configuration and management in Anaconda
1. Create virtual environment

conda create -n tensorflow python=3.6

2. Enter the newly created virtual environment

conda activate tensorflow

3. Install ipykernel in the virtual environment

conda install ipykernel

4. Add the virtual environment to Jupyter Notebook

python -m ipykernel install --name tensorflow

5. Open Jupyter Notebook, follow the diagram below to configure the relevant virtual environment
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_28057379/article/details/106429039