简体   繁体   English

Jedi python 在从 requirements.txt 安装软件包时未安装

[英]Jedi python is not installing while installing packages from requirements.txt

I have created a virtual environment with python 3.6 on my ubuntu18 system.我在我的 ubuntu18 系统上使用 python 3.6 创建了一个虚拟环境。 But while installing requirements.txt file using the command like 'pip install -r requirements.txt' for a project, I have got the error like below:但是,在使用诸如“pip install -r requirements.txt”之类的命令为项目安装 requirements.txt 文件时,出现如下错误:

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)

Not sure why it is not satisfies jedi in the requirements file.不知道为什么它不满足要求文件中的绝地。

Below is the requirements.text file下面是 requirements.text 文件

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

Any suggestion are appreciable Thanks.任何建议都是可观的谢谢。

Looking at the setup requirements for Jedi 0.15.1 , this should be installable on Python versions 2.7 and above, excluding 3.0.x through 3.3.x:查看Jedi 0.15.1的设置要求,这应该可以安装在 Python 版本 2.7 及更高版本上,不包括 3.0.x 到 3.3.x:

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

I would suspect that you aren't actually running pip on the Python version you assume.我怀疑您实际上并没有在您假设的 Python 版本上运行pip I just tried on my machine running Python 3.7.5 and had no issues running pip install jedi==0.15.1 .我刚刚尝试在我的机器上运行 Python 3.7.5 并且运行pip install jedi==0.15.1没有问题。

You can find out what environment pip is running under with the following command.您可以使用以下命令了解 pip 在什么环境下运行。

pip --version

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM