如果安装TensorFlow时出现这个问题:

Cannot uninstall 'enum34'. 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.
你需要卸载enum34


输入以下命令即可:
sudo pip install --ignore-installed enum34

然后继续安装TensorFlow就可以啦!

python 2.7版本安装:sudo pip install tensorflow

测试:
Python
>>>import tensorflow as tf
>>>session = tf.Session()
 Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
>>>

Cannot uninstall 'enum34'

相关文章:

  • 2022-12-23
  • 2022-01-12
  • 2021-04-09
  • 2021-12-10
  • 2021-05-03
  • 2021-12-15
  • 2022-01-09
猜你喜欢
  • 2021-12-09
  • 2022-12-23
  • 2022-02-18
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案