Learning notes , For reference only , If there is a mistake, it must be corrected
Last week, I began to do the experiment of student letter , In order not to interfere with the original environment of the computer , The whole virtual environment ( Please refer to Django From theory to practice (part1)– A virtual environment ), After configuring the experimental environment , I don't know how to Jupyter Notebook Of the virtual environment specified in python Interpreter , After searching for information ( by Jupyter Notebook Specifies the of the virtual environment Python Interpreter ), Solving questions , Write down this .
First , Open my virtual environment :
In a virtual environment stagate_env Install in ipykernel
library :
pip install ipykernel
If you download a package , Very slow , Even slow enough to report an error , You can download it using the image , For example, I often use Tsinghua mirror :
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ipykernel
towards jupyter Add virtual environment to , Name it python37:
python -m ipykernel install --python37
open jupyter notebook, You can see New
Drop down menu , More python37.
Create good after , We can start running the experiment .
Purpose : Try for different Ac
This practical project has pas