本文主要是介绍win10安装tensorflow-gpu==2.0.1时遇到 Cannot uninstall 'wrapt'. 的解决办法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
错误如下:
Installing collected packages: grpcio, absl-py, keras-preprocessing, setuptools, protobuf, markdown, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, termcolor, google-pasta, astor, gast, keras-applications, opt-einsum, wrapt, tensorflow-gpuFound existing installation: setuptools 39.1.0Uninstalling setuptools-39.1.0:Successfully uninstalled setuptools-39.1.0Found 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.
解决办法就是到site-packages目录下找到wrapt-1.10.11.egg.info文件并删除
这篇关于win10安装tensorflow-gpu==2.0.1时遇到 Cannot uninstall 'wrapt'. 的解决办法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!