python - 错误 : Could not find a version that satisfies the requirement tensorflow-directml

标签 python tensorflow keras windows-10 directx

我尝试安装:

pip install tensorflow-directml

来自 directml在我的 Windows 10 上。我有一个英特尔 GUP,我希望我可以使用它。但是我得到了错误:

ERROR: Could not find a version that satisfies the requirement tensorflow-directml (from versions: none)
ERROR: No matching distribution found for tensorflow-directml

我错过了什么吗?

编辑: 我正在使用 python 3.8

最佳答案

该库似乎支持 Python 3.5、3.6 和 3.7。目前不支持 Python3.8 ( 1 )。您的 pip 安装是否连接到这些版本中的任何一个?尝试使用 pip --version 确认它连接到哪个 Python 版本。如果它显示 Python 2 版本,请尝试使用 pip3 install tensorflow-directml

关于python - 错误 : Could not find a version that satisfies the requirement tensorflow-directml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71169187/

相关文章:

tensorflow - 使用 TensorFlow 对象检测 API 模型进行预测

machine-learning - 替换卡住 Tensorflow 模型中的节点

python - 即使使用随机种子也无法使用 Tensorflow 重现结果

python - 在 keras fit_generator() 中未调用 on_epoch_end()

python - 循环创建一个元组

python - ValueError : view limit minimum -0. 001 小于 1 并且是无效的 Matplotlib 日期值

python - 以编程方式更改类对象的文档字符串

python - cPickle.dump 总是在文件末尾转储

python - MNIST:试图获得高精度

python - TensorFlow 模型损失的近似周期性跳跃