installing python packages have issue in md5

后端 未结 1 630
粉色の甜心
粉色の甜心 2021-01-01 07:55

I\'m using Windows and when I want Install packages I got below error:

pip install django
Requirement already satisfied (use --upgrade to upgrade): django in         


        
相关标签:
1条回答
  • 2021-01-01 08:36

    If you get an error like pip: error: no such option: --hash, you are using too old a version of Pip, use the following command to upgrade:

    $ pip install --upgrade pip

    On Windows the recommended command is:

    python -m pip install --upgrade pip

    After the update, if the this error appeared again, use "--no-cache-dir" when you upgrade/install:

    pip --no-cache-dir install YOUR-PACKAGENAME

    or

    pip --no-cache-dir install --upgrade YOUR-PACKAGENAME

    A good reason for the hash to be different is if you use a platform that isn’t covered by the existing hashes for a package that has wheels.

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