下载python包

修改pip下载源python

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspideride

 

更新pip版本this

python -m pip install --upgrade pippyspider

 

查看下载的包的安装位置ip

pip show tensorflowpip

 

卸载包io

pip uninstall 要卸载的包名module

 

查看那些包须要更新tensorflow

pip list  --outdateddate

 

报错RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa

须要更新某个包

pip install numpy --upgrade

 


Import TensorFlow as tf 报错:ImportError: DLL load failed: 找不到指定的程序

须要指定版本进行安装,。在自动安装了tensorflow时, protobuf安装的是最新版本3.6.1, 出现了不兼容的问题。

pip install protobuf==3.6.0

相关文章
相关标签/搜索