我早些时候(几个月前)从这个 Stackoverflow 获得了相同问题的解决方案,但我忘记了。
解决方案应该是这样的:从 GitHub 下载 wrapt 包,并将其放在 c:drive\user profile location\wrapt 中。
在安装 tensorflow 包时,包裹阻碍它
pip install tensorflow
安装张量流时出错
Installing collected packages: wrapt, tensorflow
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.