TensorFlow升级1.4:Cannot remove entries from nonexistent file \lib\site-pack
生活随笔
收集整理的這篇文章主要介紹了
TensorFlow升级1.4:Cannot remove entries from nonexistent file \lib\site-pack
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
0. coco數據集使用TensorFlow版本至少1.3,需要對TensorFlow進行升級。
出現此種問題:Cannot remove entries from nonexistent file \lib\site-pack
解決方法:
conda remove setuptools導致不可逆轉的錯誤,
最后找到
運行:pip install --upgrade --ignore-installed setuptools,問題解決!
1.問題是解決了,仍然不能使用TensorFlow1.4版本,依然是pip 在線安裝的1.2.1,很悲劇,因此
參考:
卸載TensorFlow,把1.4.0卸載掉了
重裝 tensorflow-1.4.0-cp35-cp35m-win_amd64.whl
這才安裝成功TensorFlow1.4版本。
總結
以上是生活随笔為你收集整理的TensorFlow升级1.4:Cannot remove entries from nonexistent file \lib\site-pack的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 公英和蒲公英一样吗
- 下一篇: Pycharm:debug调试时使用参数