【发布时间】:2022-05-22 21:17:54
【问题描述】:
我正在尝试通过 Anaconda Prompt (Acnadconda3) 安装 NeuralProphet,但出现以下错误:
ERROR: Could not find a version that satisfies the requirement torch<1.7.0,>=1.4.0 (from neuralprophet) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 1.7.0, 1.7.1, 1.8.0, 1.8.1)
ERROR: No matching distribution found for torch<1.7.0,>=1.4.0 (from neuralprophet)
我已经检查了我的 python 版本(如下),我可以看到它运行 64 位 - 所以我认为这不是问题吗?任何帮助将不胜感激!
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32```
【问题讨论】:
-
这或许可以回答你的问题:stackoverflow.com/questions/56239310/…
-
你运行了哪个命令?
-
感谢您的回复 - 事实证明 Adam 是对的,我需要降级 Pytorch 的版本才能正常工作 - 我最终在 Anaconda 提示符下使用以下命令安装了 1.6,我现在可以安装 NeuralProphet :)
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch