How do I fix 'ImportError: cannot import name IncompleteRead'?

前端 未结 16 1359
暖寄归人
暖寄归人 2020-11-28 18:22

When I try to install anything with pip or pip3, I get:

$ sudo pip3 install python3-tk
Tra         


        
16条回答
  •  清歌不尽
    2020-11-28 19:06

    For CentOS I used this and it worked please use the following commands:

    sudo pip uninstall requests
    sudo pip uninstall urllib3
    sudo yum remove python-urllib3
    sudo yum remove python-requests
    

    (confirm that all those libraries have been removed)

    sudo yum install python-urllib3
    sudo yum install python-requests
    

提交回复
热议问题