安裝第三方庫pyzmail報錯 ERROR: Command errored out with exit status 1:

一開始查詢說:pip版本不對,需要升級

Win+R打開命令行窗口,輸入

python -m pip install --upgrade pip

重新安裝軟件發現並無卵用,仔細閱讀ERROR內容,發現題中的錯誤是讓你讀懂debug中的報錯,暈!查找後發現如下錯誤

AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

OK,這纔是主要錯誤!!!!解決辦法如下:

pip install pyzmail36

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章