更新tensorflow時遇到報錯
Found existing installation: enum34 1.0.4
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.
解決方法如下:
pip install enum34 --upgrade --ignore-installed
成功升級enum34模塊到最新版本,然后順利升級TensorFlow:
pip install tensorflow --upgrade