📜  安装 pip 并将虚拟环境添加到 Python 内核 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:16.037000             🧑  作者: Mango

代码示例1
python -m pip install --upgrade pip
pip install ipykernel               #  install ipykernel
python -m ipykernel install --user --name=tfodj       # associate virually to the jupyternotebook, (tfodj is the virtual environment,need to change it accordingly)