简体   繁体   English

Mac using:Could not find a version that satisfied the tensorflow (from versions:) No matching distribution found for tensorflow

[英]Mac using:Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow

python version:蟒蛇版本:

$ python3 -V
Python 3.7.0

pip3 path: pip3 路径:

which -a pip3
/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3
/usr/local/bin/pip3

pip3 version: pip3 版本:

pip3 -V
pip 18.0 from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)

the tensorflow could be installed by pip without any problem but couldn't be installed by pip3 tensorflow 可以通过 pip 安装,没有任何问题,但无法通过 pip3 安装

$ pip3 install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

the similar problem happens when I try to install any other packages.当我尝试安装任何其他软件包时会发生类似的问题。

I fixed this by uninstalling python@2 and reinstall python@3.8我通过卸载 python@2 并重新安装 python@3.8 解决了这个问题

$ brew doctor
# it shows a lot warnings about python@2 and python@3.8

$ brew uninstall python@2

$ brew reinstall python@3.8

$ python3 --version
Python 3.8.6

$ pip3 install tensorflow

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到满足张量流要求的版本(来自版本:)没有找到张量流的匹配分布 - Could not find a version that satisfies the requirement tensorflow (from versions:) No matching distribution found for tensorflow 错误:找不到满足 tensorflow 要求的版本(来自版本:无)错误:没有找到 tensorflow 的匹配分布) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow) 找不到满足tensorflow> = 1.7.0的版本(来自版本:)找不到与tensorflow> = 1.7.0匹配的分布 - 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==2.1.0 要求的版本,并且未找到 tensorflow==2.1.0 的匹配分布 - ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.0 and No matching distribution found for tensorflow==2.1.0 错误:找不到满足 tensorflow 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) 找不到满足 java 要求的版本(来自版本:)没有找到与 java 匹配的发行版 - Could not find a version that satisfies the requirement java (from versions: ) No matching distribution found for java 错误:找不到满足熊猫要求的版本(来自版本:)找不到与熊猫匹配的发行版 - ERROR : Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas 找不到满足 pyimagesearch 要求的版本(来自版本:)找不到与 pyimagesearch 匹配的发行版 - Could not find a version that satisfies the requirement pyimagesearch (from versions: ) No matching distribution found for pyimagesearch 错误:找不到满足 mathplotlib 要求的版本(来自版本:无)错误:找不到 mathplotlib 的匹配分布 - ERROR: Could not find a version that satisfies the requirement mathplotlib (from versions: none) ERROR: No matching distribution found for mathplotlib 找不到满足 dblib 要求的版本(来自版本:无)并且没有找到 dblib 的匹配分布 - could not find a version that satisfies the requirement dblib (from versions: none) and No matching distribution found for dblib
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM