首页 > 解决方案 > Pip3 找不到/安装模块

问题描述

我正在尝试使用 pip3 在 Python 中安装软件包。我确实设法在其他系统上安装了这些软件包,所以我知道它们存在。但就好像我正在使用的 pip3 存储库不包含那样。包是搁置和操作系统。我得到的错误是:

    [root@host]# pip3 install shelve
Collecting shelve
  Could not find a version that satisfies the requirement shelve (from versions: )
No matching distribution found for shelve

如果这有什么不同,我正在使用 RHEL 7。

标签: pythonpipoperating-systempython-3.5shelve

解决方案


该项目在 2011 年发布了一个版本,该版本没有可下载的文件。不是所有帐户都可以使用的项目。

你的意思是从 stdlib 搁置?您无需安装它,它始终可用,只需导入它即可。


推荐阅读