python3.9.6 windows安装
安装python1.下载:python-3.9.2-embed-amd64.zip2.解压3.添加PATH环境变量 D:\dev\python\python\python-3.9.2-embed-amd644.测试:D:\now>pythonPython 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit
·
下载安装
python官网打不开,从如下网址下载:
python-3.9.6-amd64.exe

测试:
python --version
Python 3.9.6
pip --version # Python2.x 版本命令
pip3 --version # Python3.x 版本命令
pip改为国内镜像源
1.C:\Users\Administrator\pip下新建文件pip.ini,内容如下
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
2.查看
d:\now>pip3 config list
global.index-url='https://pypi.tuna.tsinghua.edu.cn/simple'
install.trusted-host='pypi.tuna.tsinghua.edu.cn'
d:\now>
更多推荐



所有评论(0)