tensorflow pip install 安装指定版本的包并指定安装源(速度会快很多)


pip install tensorflow-gpu==1.3
pip install tensorflow-gpu==1.4

# pip install 命令行
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow

pip的配置文件 ~/.pip/pip.conf (可能需要创建.pip目录及pip.conf文件),在其中添加如下配置:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
 
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM