首页 > 技术文章 > 用pip命令把python包安装到指定目录

yibeimingyue 2019-11-19 13:03 原文

 

 sudo pip install transforms3d --target=/usr/local/lib/python2.7/site-packages

 

pip install transforms3d --target=/home/dell/anaconda3/lib/python3.6/site-packages

 

清华镜像安装tensorflow:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.13.1

 

推荐阅读