pip常见安装用法
普通安装
pip uninstall tensorflow
pip install tensorflow
如果下载慢的话可以参考以下镜像源:
例如:
pip install numpy -i https://pypi.doubanio.com/simple/
这样就会从清华这边的镜像去安装tensorflow库。
国内源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:[link] http://pypi.douban.com/simple/