快速安装tensorflow,解决 ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we
快速安装tensorflow,可以到清华大学网站下载,具体是:pip install tensorflow-i https://pypi.tuna.tsinghua.edu.cn/simple/其实,可以到清华大学下载各种python需要的包,方法是:pip install安装包的名字-i https://pypi.tuna.tsinghua.edu.cn/simple/如果tensorflow没
·
- 快速安装tensorflow,可以到清华大学网站下载,具体是:
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/
其实,可以到清华大学下载各种python需要的包,方法是:
pip install 安装包的名字 -i https://pypi.tuna.tsinghua.edu.cn/simple/ - 如果tensorflow没有安装成功,遇到如下ERROR信息:
Attempting uninstall: wrapt
Found existing installation: wrapt 1.10.11
ERROR: Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
可以手动将wrapt卸载,卸载方法是:
pip install wrapt --ignore-installed - 我机子上的具体过程及结果如下:
命令:pip install wrapt --ignore-installed
…
Successfully built wrapt
Installing collected packages: wrapt
Successfully installed wrapt-1.12.1
命令: pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/
…
Successfully installed google-pasta-0.2.0 tensorflow-2.3.0
更多推荐
所有评论(0)