安装tensorflow时,遇到这样的问题: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.

解决办法:pip install -U --ignore-installed wrapt enum34 simplejson netaddr

然后再pip install tensorflow,就可以正常安装了
本文介绍了一种常见的TensorFlow安装错误及其解决方案。错误提示为无法卸载'wrapt'项目,因为无法准确确定哪些文件属于该项目,这可能导致部分卸载。解决方法是先使用特定命令安装一些依赖包,然后再次尝试安装TensorFlow。
4万+

被折叠的 条评论
为什么被折叠?



