我正在安装 DARTS TimeSeries 库(https://github.com/unit8co/darts/blob/master/INSTALL.md#enabling-optional-dependencies),但我遇到了依赖项安装问题。在 DARTS 安装指南中,它说如果我们遇到这个问题,我们必须参考 PyTorch 的官方安装指南,然后尝试再次安装 Darts。然后,当我尝试在 python 3.12.1 上安装 torch 时,我遇到了这个错误:
错误:找不到满足火炬要求的版本(来自版本:无)
错误:找不到火炬的匹配发行版。
如何解决?
我使用 PyCharm 作为 Python 代码编辑器。
我尝试了
pip install darts
,但它没有安装所有软件包并遇到此错误错误:subprocess-exited-with-error
pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [136 lines of output]
Collecting setuptools>=64.0
Obtaining dependency information for setuptools>=64.0 from https://files.pythonhosted.org/packages
然后,我尝试使用 pip install torch 来安装 torch 并遇到了这个错误 错误:找不到满足火炬要求的版本(来自版本:无) 错误:找不到火炬的匹配发行版