Pip3无法找到/安装模块

问题描述 投票:0回答:2

我正在尝试使用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。

python pip operating-system python-3.5 shelve
2个回答
0
投票

The project在2011年有一个版本,该版本没有可下载的文件。所有帐户都不是一个可用的项目。

你的意思是shelve from the stdlib?您无需安装它,它始终可用,只需导入它。


0
投票

你也可以使用例如install tkinter包:

sudo apt-get install python-tk; if you have python installed

或者您可以使用:

sudo apt-get install python3-tk; if you have python3 installed
© www.soinside.com 2019 - 2024. All rights reserved.