AttributeError: 'module' object has no attribute 'main'

在linux下創建python 2.7虛擬環境,激活環境後用pip安裝tensorflow報錯python

AttributeError: 'module' object has no attribute 'main'

解決方法:運行linux

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py;python get-pip.py bootstrap

 

參考:https://blog.csdn.net/Jiaach/article/details/80188262 curl

相關文章
相關標籤/搜索