首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在从requirements.txt安装包时,Jedi python没有安装。

在从requirements.txt安装包时,Jedi python没有安装。
EN

Stack Overflow用户
提问于 2020-07-15 04:46:22
回答 1查看 467关注 0票数 1

我已经用Python3.6在我的ubuntu18系统上创建了一个虚拟环境。但是当我使用像'pip install -r requirements.txt‘这样的命令为项目安装requirements.txt文件时,我得到了如下的错误:

代码语言:javascript
复制
ERROR: Could not find a version that satisfies the requirement jedi==0.15.1 (from -r requirements.txt (line 25)) (from versions: 0.1)
ERROR: No matching distribution found for jedi==0.15.1 (from -r requirements.txt (line 25)

不确定为什么它不能满足要求文件中的绝地。

下面是requirements.text文件

代码语言:javascript
复制
appnope==0.1.0
attrs==19.1.0 
backcall==0.1.0
bcrypt==3.1.7
bleach==3.1.0
cffi==1.13.1
Click==7.0
decorator==4.4.0
defusedxml==0.6.0
dnspython==1.15.0
entrypoints==0.3
Faker==0.8.13
flake8==3.7.8
Flask==0.12.4
Flask-Bcrypt==0.7.1
Flask-Cors==3.0.3
Flask-JWT-Extended==3.7.0
Flask-Login==0.4.0
importlib-metadata==0.23
ipykernel==5.1.3
ipython==7.8.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
itsdangerous==1.1.0
jedi==0.15.1
Jinja2==2.10.3
jsonschema==3.1.1
jupyter==1.0.0
jupyter-client==5.3.1
jupyter-console==6.0.0
jupyter-core==4.4.0
MarkupSafe==1.1.1
mccabe==0.6.1
mistune==0.8.4
more-itertools==7.2.0
nbconvert==5.6.0
nbformat==4.4.0
notebook==6.0.1
pandocfilters==1.4.2
parso==0.5.1
pexpect==4.7.0
pickleshare==0.7.5
pluggy==0.6.0
prometheus-client==0.7.1
prompt-toolkit==2.0.10
ptyprocess==0.6.0
py==1.8.0
pycodestyle==2.5.0
pycparser==2.19
pyflakes==2.1.1
Pygments==2.4.2
PyJWT==1.7.1
pymongo==3.7.2
pyrsistent==0.15.4
pytest==3.3.0
pytest-flask==0.11.0
python-dateutil==2.8.0
pyzmq==18.1.0
qtconsole==4.5.5 
Send2Trash==1.5.0
six==1.12.0
terminado==0.8.2
testpath==0.4.2
text-unidecode==1.2
tornado==6.0.3
traitlets==4.3.3
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.16.0
widgetsnbextension==3.5.1
zipp==0.6.0

任何建议都是值得感谢的。

EN

回答 1

Stack Overflow用户

发布于 2020-07-15 05:03:20

查看Jedi 0.15.1的设置要求,这应该可以在Python2.7版和更高版本上安装,不包括3.0.x到3.3.x:

python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'

我怀疑您实际上并没有在您假设的Python版本上运行pip。我刚刚尝试在我的机器上运行Python3.7.5,运行pip install jedi==0.15.1没有任何问题。

您可以使用以下命令找出pip在什么环境下运行。

pip --version

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62903735

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档