[python] 安装TensorFlow问题 解决Cannot uninstall ‘wrapt‘. It is a distutils installed project

[python] 安装TensorFlow问题 解决Cannot uninstall ‘wrapt‘. It is a distutils installed project,第1张

cmd安装 pip install tensorflow

  1. 遇到报错
    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.
    解决办法:cmd输入 pip install -U --ignore-installed wrapt enum34 simplejson netaddr

  2. 遇到报错
    ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you’ll have setuptools 39.1.0 which is incompatible.
    报错原因: setuptools 版本太低
    解决办法:更新setuptools版本
    cmd输入 pip install --upgrade setuptools

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/801431.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-07
下一篇 2022-05-07

发表评论

登录后才能评论

评论列表(0条)

保存