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

前端 未结 16 1371
暖寄归人
暖寄归人 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:11

    Check wether you have an older version of requests sitting in your ~/.local/lib/python2.7/site-packages/ and remove it if it is the case (change path to reflect your python version). This solved the issue for me.

提交回复
热议问题