Error when running 'pip install -r requirements.txt --upgrade'

后端 未结 2 1294
时光说笑
时光说笑 2021-01-17 06:10

When i run following command in my Django project:

pip install -r requirements.txt --upgrade

I get following error:

相关标签:
2条回答
  • 2021-01-17 06:46

    If you're using a virtualenv, this shouldn't happen,if it does, then here is a similar question to your problem.

    OS X Uninstall a distutils installed project

    If you do remove the argparse package, it can be installed again using pip.

    Don't have enough reputation to write this as a comment yet. :(

    0 讨论(0)
  • 2021-01-17 06:58

    This sounds very much like you are hitting https://github.com/pypa/pip/issues/3384 - the temporary solution is to pin pip<8

    0 讨论(0)
提交回复
热议问题