猿问

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。


largeQ
浏览 167回答 2
2回答

慕田峪9158850

该项目在 2011 年发布了一个版本,该版本没有可下载的文件。不是所有帐户都可用的项目。你的意思是从 stdlib 搁置?您不需要安装它,它始终可用,只需导入即可。

梦里花落0921

您还可以使用例如安装 tkinter 包:sudo apt-get install python-tk; if you have python installed或者你可以使用:sudo apt-get install python3-tk; if you have python3 installed
随时随地看视频慕课网APP

相关分类

Python
我要回答