Pip3无法找到/安装模块

时间:2019-02-22 16:14:38

标签: python pip operating-system python-3.5 shelve

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

2 个答案:

答案 0 :(得分:0)

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

您是说shelve from the stdlib吗?您无需安装它,它始终可用,只需导入即可。

答案 1 :(得分:0)

您还可以使用例如安装tkinter软件包:

Convert.ToDateTime(Info.ClosedDate) == SqlDateTime.MinValue? String.Empty : "(" + Info.ClosedDate + ")";

或者您可以使用:

sudo apt-get install python-tk; if you have python installed
相关问题