TypeError: parse() got an unexpected keyword argument 'transport_encoding'

在cmd 中 執行  python3 -m pip install pymysql,報錯。

解決方法:在  https://pypi.org/project/html5lib/#files  下載  html5lib 1.0.1  

然後在cmd 執行  python3 -m pip install html5lib-1.0.1-py2.py3-none-any.whl

安裝成功後,在執行  python3 -m pip install pymysql

就不會報錯了。 我的問題是這樣解決的,看看對你是否適用。

參看網址:https://stackoverflow.com/questions/46499808/pip-throws-typeerror-parse-got-an-unexpected-keyword-argument-transport-enco/46535112#

 

 

 

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