Python 3.5 pip 9 AttributeError: 'NoneType' object has no attribute 'bytes'

前端 未结 3 1434

What is the problem? I tried \"python -m pip install -U pip\" and \"python -m pip install --upgrade pip\" both with the same error (and \"<

3条回答
  •  时光说笑
    2020-12-06 06:59

    My answer is a variation of assmmahmud's but for me I had to use the option --user. I'm on windows so from CMD.exe;

    py -m pip install --user --force-reinstall -U
    

    If I don't use the --user option then the error occurs.

提交回复
热议问题