[英]Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0
I am trying to install tensorflow in my mac which is greater than version 1.7.0. 我正在尝试在大于1.7.0版的Mac中安装tensorflow。 While I am running the command: 当我运行命令时:
pip3 install "tensorflow>=1.7.0"
I am getting this error: 我收到此错误:
Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0 找不到满足tensorflow> = 1.7.0的版本(来自版本:)找不到与tensorflow> = 1.7.0匹配的分布
Any help is highly appreciated. 非常感谢您的帮助。
The above is because TensorFlow is only created to run on Python versions 3.6, 2.7 and 3.5. 这是因为TensorFlow仅创建为可在Python 3.6、2.7和3.5版本上运行。 As your Python version is 3.7, pip cannot find any TF version which is compatible. 由于您的Python版本是3.7,因此pip无法找到任何兼容的TF版本。 Try degrading the Python version, or install Python version 3.6 separately and install TensorFlow in it by : pip3 install tensorflow
. 尝试降级Python版本,或单独安装Python版本3.6,然后通过以下pip3 install tensorflow
在其中安装TensorFlow: pip3 install tensorflow
。
Also, to manage different python versions you can use Anaconda environments. 另外,要管理不同的python版本,您可以使用Anaconda环境。 They are easy to use and have a separate conda package manager. 它们易于使用,并具有单独的conda软件包管理器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.