«

Conda命令及虚拟环境配置

benojan 发布于 阅读:15 python


创建虚拟环境

conda create --name env_name python=3.13.5

激活虚拟环境

conda activate env_name

安装jupyter

pip install jupyter -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

pip设置国内源

python -m pip install --upgrade pip
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

运行jupyter


jupyter notebook --notebook-dir=D:
```\

python 虚拟环境 conda