Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
907 views
in Technique[技术] by (71.8m points)

python 3.x - No matching distribution found for multiple packages

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.

Is there something wrong with my setup?

> pip install -r requirements.txt
Collecting get==2019.4.13 (from -r requirements.txt (line 4))
  Cache entry deserialization failed, entry ignored
Exception:
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/get/

If I remove line get==2019.4.13 next error is:

> pip install -r requirements.txt
Collecting post==2019.4.13 (from -r requirements.txt (line 11))
  Cache entry deserialization failed, entry ignored
Exception:
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/post/
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...