python-3.x - 为什么使用 pip 安装旧版本的 sktime?

标签 python-3.x pip

我正在尝试使用 pip 安装 sktime。最新版本在pypi是 0.5.1,但是当我安装 0.4.3 时会安装。我尝试使用 pip3 install sktime==0.5.1 安装,它抛出错误

Could not find a version that satisfies the requirement sktime==0.5 (from versions: 0.1.dev0, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3)
No matching distribution found for sktime==0.5

最佳答案

对于 future 的用户,聊天中的相关详细信息:

Ubuntu 18.0.4
pip 9.0.1
python 3.6.9

这里的问题是 pip 版本太旧,无法安装 wheel files for 0.5.1 中的任何一个。根据 this issue 在 pip 19.0 中添加了 Manylinux2010 支持。要解决此问题,只需将 pip 升级到版本 >19 即可。

那么为什么这个问题只出现在 0.5.1 版本上,而之前的版本都没有出现呢?这是因为所有以前的版本(例如 0.4.3 )还提供了源代码分发(.tar.gz),可用于从源代码构建作为轮子的替代方案。然而,这个 sdist 在 0.5.1 中被删除了。

关于python-3.x - 为什么使用 pip 安装旧版本的 sktime?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65648658/

相关文章:

arrays - 高效堆叠和连接 NumPy 数组

python - 删除 matplotlib 中的工具栏按钮

tensorflow - 在 virtualenv 中安装 tensorflow 后,vscode 说找不到模块 [ubuntu20.04]

pip - 查找默认 pip index-url

python - CentOS 上 pip 包管理器的问题

python - Selenium 与 Python/导航到下一页

python-3.x - 包含 "- "的字符串总是使用 ruamel.yaml 换行

python - pip install 不再适用于 virtualenv,不知何故 pip 尝试使用 root 进行安装

python - 在 Python 3.5 64 位上通过 pip 安装 OpenCV

python - pip 安装我的 python 应用程序是否应该自动安装依赖项?