找不到与pathspec匹配的版本

时间:2020-02-27 11:54:17

标签: python django pipenv

下载awsebcli在AWS上部署Django项目时出现问题。

pipenv install awsebcli

enter image description here

这是我的pipfile

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
flake8 = "*"
black = "*"

[packages]
pathspec = "== 0.5.9"
django = "==3.0.3"

[requires]
python_version = "3.7"

[pipenv]
allow_prereleases = true

1 个答案:

答案 0 :(得分:1)

删除Pipfile并重新安装项目依赖项并生成一个新的Pipfile:

pipenv --rm 
rm Pipfile
rm Pipfile.lock 
pipenv install pathspec django

相关问题:

https://github.com/pypa/pipenv/issues/3549

https://github.com/pypa/pipenv/issues/3705