简体   繁体   English

Pip 找不到满足要求的版本

[英]Pip could not find a version that satisfies the requirement

I'm having problems with installing a package using pip.我在使用 pip 安装软件包时遇到问题。 I tried :我试过 :

pip install jurigged

Causing these errors :导致这些错误:

    ERROR: Could not find a version that satisfies the requirement jurigged (from versions: none)
    ERROR: No matching distribution found for jurigged

I checked if pip was up to date which was the case.我检查了 pip 是否是最新的。 I'm on Python 3.7.4.我在 Python 3.7.4 上。

Does anyone know a solution to this problem?有谁知道这个问题的解决方案?

From PyPI , jurigged is only supported as of Python >= 3.8 (see alsohere )PyPI 开始jurigged Python >= 3.8 开始支持jurigged (另请参见此处

pip doesn't find anything to install because you do not meet the requirements. pip找不到要安装的任何东西,因为您不符合要求。

Upgrade to Python >= 3.8 and do the same: pip install jurigged升级到 Python >= 3.8 并执行相同操作: pip install jurigged

You can solve this problem by typing,您可以通过键入来解决此问题,

 pip install pandas --trusted-host pypi.org --trusted-host files.pythonhosted.org

if you want to fix this setting, in window, make file %HOME%\\pip\\pip.ini and add code,如果你想修复这个设置,在窗口中,制作文件%HOME%\\pip\\pip.ini并添加代码,

    [global]trusted-host = pypi.org
                           files.pythonhosted.org

1 - You had installed python3 but your python in /usr/bin/python may be still the older version so run the following command to fix it 1 - 你已经安装了 python3 但你在 /usr/bin/python 中的 python 可能仍然是旧版本,所以运行以下命令来修复它

    python3 -m pip install <pkg>

2 - The other possible reason could be initial forgot the -r: Use pip install -r requirements.txt the -r is essential for the command. 2 - 另一个可能的原因可能是最初忘记了 -r:使用 pip install -r requirements.txt -r 对命令至关重要。

3 - If still not working, there is one way to fix this error. 3 - 如果仍然无法正常工作,有一种方法可以修复此错误。 try this but first, get the version of ur package试试这个,但首先,获取你的包的版本

    python3 -m pip install --pre --upgrade PACKAGE==VERSION.VERSION.VERSION

4 - You know sometimes the package already exists then also we get this error,so try to check if u are able to import or not. 4 - 您知道有时包已经存在,然后我们也会收到此错误,因此请尝试检查您是否能够导入。

5 - Try pipwin instead of pip sometimes if the problem is with pip this works as a magic 5 - 如果问题出在pip有时尝试pipwin而不是 pip 这很神奇

6 - Don't forget to turn on your internet, strange but happens sometimes. 6 - 不要忘记打开互联网,这很奇怪,但有时会发生。

lemme know if the problem persists.让我知道问题是否仍然存在。 But as per my guess, it should work now.但根据我的猜测,它现在应该可以工作了。 Best of luck !!!祝你好运!!!

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

相关问题 pip找不到满足要求的版本 - Pip could not find a version that satisfies the requirement pip install产生“找不到满足要求的版本” - pip install producing “Could not find a version that satisfies the requirement” 点错误-找不到满足junos-eznc要求的版本 - Pip error - could not find a version that satisfies the requirement junos-eznc pip 安装:找不到满足要求的版本诅咒 - pip install : Could not find a version that satisfies the requirement curses Pip 安装错误 - 找不到满足要求的版本 - Pip Installation Error - Could not find a version that satisfies the requirement 找不到满足要求的版本 - Could not find a version that satisfies the requirement 找不到满足要求pip的版本-在python 2.7中的代理后面安装pip - Could not find a version that satisfies the requirement pip - installing pip behind proxy in python 2.7 尽管有适当的版本可用,但“找不到满足要求的版本”使用 Pip 安装组件 - "Could not find a version that satisfies the requirement" installing component with Pip despite an appropriate version available 找不到满足要求pytz的版本 - Could not find a version that satisfies the requirement pytz Python polytools:找不到满足要求的版本 - Python polytools: Could not find a version that satisfies the requirement
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM