1. 程式人生 > >安裝tensorflow出現Cannot uninstall 'six'.問題的解法

安裝tensorflow出現Cannot uninstall 'six'.問題的解法

使用以下命令安裝TensorFlow

sudo pip install tensorflow

如果出現以下錯誤:

Cannot uninstall ‘six’. 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.

則可以採用這個命令,即可解決:

sudo pip install tensorflow –ignore-installed six