安装tensorflow时six模块报错

python2.7安装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.

原因是要安装新的six包,然而系统依赖于旧的six包,因此发生了冲突,安装的时候选择忽略就好了:

python2.7 -m pip install tensorflow --ignore-installed six

猜你喜欢

转载自blog.csdn.net/tcx1992/article/details/80492575
six