No matching distribution found for multiple packages

前端 未结 2 1506
青春惊慌失措
青春惊慌失措 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条回答
  •  猫巷女王i
    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.

提交回复
热议问题