Skip to main content
 首页 » 编程设计

python之找不到满足 ruamel 要求的版本(来自版本 : ) No matching distribution found for ruamel

2024年09月07日15jillzhang

这里是python版本:

Python 3.6.5  

我想安装 ruamel:

pip3 install ruamel 

但我无法安装它:

(venvpython3) d3alg@ubuntu-59:/$ python 
Python 3.6.5 (default, Apr  1 2018, 05:46:30) 
[GCC 7.3.0] on linux 
Type "help", "copyright", "credits" or "license" for more information. 
>>> exit() 
(venvpython3) d3alg@ubuntu-59:/$ pip3 install ruamel 
Collecting ruamel 
  Could not find a version that satisfies the requirement ruamel (from versions: ) 
No matching distribution found for ruamel 

我做错了什么?

请您参考如下方法:

如果您搜索 PyPI对于 ruamel ,您会看到没有具有该名称的包。所有可用的包都将该字符串作为命名空间 (ruamel.)。实际上,您必须选择要安装的每个包(尽管有些包会依赖于其他包并引入多个“ruamel.”命名空间包):

pip3 install -y ruamel.yaml