No matching distribution found for multiple packages

前端 未结 2 1489
青春惊慌失措
青春惊慌失措 2020-12-20 12:55

Suddenly I get a lot of errors while trying to use my previously working (for many months) requirements file. I tried to go to the pypi.org and get the same 404 error.

<
相关标签:
2条回答
  • 2020-12-20 13:36

    PyPI administrator here. You probably unintentionally had request instead of requests in your requirements.txt file.

    These projects (request, get, post) were removed by their author and no longer exist. You should remove them from your requirements.txt file.

    0 讨论(0)
  • 2020-12-20 13:38

    I had the similiar problem. I have a django website deployed to Heroku. When I pushed my commit it threw errors like this:

    remote:        ERROR: Could not find a version that satisfies the requirement post==2019.4.13 (from -r /tmp/build_f0948004/requirements.txt (line 26)) (from versions: none)
    remote:        ERROR: No matching distribution found for post==2019.4.13 (from -r/tmp/build_f0948004/requirements.txt (line 26))
    

    I deleted dependencies below that spat errors in requirements.txt:

    get==2019.4.13 
    post==2019.4.13 
    request==2019.4.13
    

    And I saved my commit and pushed it. Now it works fine.

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