首页 > 编程语言 >Python环境安装及配置

Python环境安装及配置

时间:2022-09-03 11:33:26浏览次数:54  
标签:cn Python soft 配置 tsinghua https edu pip 安装

下载miniconda

https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/

 

配置pip

升级pip:

python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip

 

配置pip源:

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

 

配置conda环境变量:

D:\soft\Miniconda3
D:\soft\Miniconda3\Library\bin
D:\soft\Miniconda3\Scripts

D:\soft\ 为安装目录需要替换为自己的安装目录

标签:cn,Python,soft,配置,tsinghua,https,edu,pip,安装
From: https://www.cnblogs.com/namedlxd/p/16652232.html

相关文章