用pip命令把python包安装到指定目录

 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
原文地址:https://www.cnblogs.com/yibeimingyue/p/11888610.html