python - 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。
解决方案
该项目在 2011 年发布了一个版本,该版本没有可下载的文件。不是所有帐户都可以使用的项目。
你的意思是从 stdlib 搁置?您无需安装它,它始终可用,只需导入它即可。
推荐阅读
- c++ - 统一内存分配 cuda 的功能关键字
- php - 查找两个不同长度数组的欧几里得距离
- python - Keras 中的 1D CNN:从池化特征展平到密集层会引发 ValueError
- c# - Create unauthenticated request in integration tests in .NET Core 3.0
- r - 在数据框中添加两列的值无意更改结果列的标题
- javascript - 计算不同数组中对象之间的较大值
- javascript - Unable to parse data from Python CGI script in PHP
- python - 如何使用 .loc 根据日期字段进行过滤
- html - Drop down with ng-selected option does not show selected
- cuda - Convert nvprof nvidia profile to csv