我的Python常用命令(持续更新)

1.一般使用代理时:(前者是豆瓣后者是阿里)

1 pip install 名字 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
1 pip install -i https://mirrors.aliyun.com/pypi/simple/ 包名 (阿里云镜像)

 

2.如果需要装特定的版本号(以tensorflow1.15为例子)

1 pip install -i https://mirrors.aliyun.com/pypi/simple/ tensorflow==1.15

 

3.如果看装了哪些包可以

1 pip list

 

4.查看pip版本号可以(V大写)

1 pip -V

 

5.一部电脑上是可以安装多个Python版本的     

 

 

 
 
 
 
 
 
 
 
 
 

posted on 2021-06-24 23:56  stuMartin  阅读(60)  评论(0编辑  收藏  举报

导航