Mic*_*ael 13 pip pypi python-3.x
突然间,我在尝试使用我以前工作过(好几个月)的需求文件时遇到了很多错误。我试图去 pypi.org 并得到相同的 404 错误。
我的设置有问题吗?
> 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/
Run Code Online (Sandbox Code Playgroud)
如果我删除行get==2019.4.13下一个错误是:
> 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/
Run Code Online (Sandbox Code Playgroud)
我有类似的问题。我有一个部署到Heroku 的Django 网站。当我推送我的提交时,它抛出了这样的错误:
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))
Run Code Online (Sandbox Code Playgroud)
我删除了下面出现错误的依赖项requirements.txt:
get==2019.4.13
post==2019.4.13
request==2019.4.13
Run Code Online (Sandbox Code Playgroud)
我保存了我的提交并推送了它。现在效果很好。
| 归档时间: |
|
| 查看次数: |
6557 次 |
| 最近记录: |