ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERRO

我使用python2.7试图通过pip安装TensorFlow(pip install tensorflow)但是得到这个错误

无法找到满足TensorFlow要求的版本(来自版本:)

因为TensorFlow for Windows只支持Python3.5Python 3.6(自1.2起)。当你通过pip下载时,你将收到最新的1.2版本,因此你应该能够在3.6上运行。不需要使用Anaconda版本的TensorFlow,发行版不受支持,如果你正在运行anaconda,则pip版本做得很好。

如果你仍然需要python2.7对其他项目的支持,那么我可以建议使用诸如anaconda或virtualenv这样的环境管理器来让你能够同时运行多个版本的python。

一旦安装了受支持的python版本,你就可以运行pip install tensorflow几分钟后就能安装好。

这里有完整的安装说明:https://www.tensorflow.org/install/install_windows

猜你喜欢

转载自blog.csdn.net/rocling/article/details/89914610
今日推荐