admin管理员组文章数量:1122846
I am trying to use PhaseNet and it request the tensorflow==2.14.0. However, when I try to install the tensorflow, the pip does not shows availability of the version 2.14:
pip install tensorflow==2.14.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14.0 (from versions: 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0)
ERROR: No matching distribution found for tensorflow==2.14.0
I have installed the 2.16.1, but the PhaseNet didn't work when it try to use the tensorflow. It shows the following message:
File "/opt/anaconda3/envs/phasenet/lib/python3.12/site-packages/tensorflow/python/util/lazy_loader.py", line 207, in __getattr__
raise AttributeError(
AttributeError: `conv2d` is not available with Keras 3.
Does someone have any suggestion how to install the tensorflow==2.14.0 when it is not available on pip?
Thanks in advance, Guilherme
I am trying to use PhaseNet and it request the tensorflow==2.14.0. However, when I try to install the tensorflow, the pip does not shows availability of the version 2.14:
pip install tensorflow==2.14.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14.0 (from versions: 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0)
ERROR: No matching distribution found for tensorflow==2.14.0
I have installed the 2.16.1, but the PhaseNet didn't work when it try to use the tensorflow. It shows the following message:
File "/opt/anaconda3/envs/phasenet/lib/python3.12/site-packages/tensorflow/python/util/lazy_loader.py", line 207, in __getattr__
raise AttributeError(
AttributeError: `conv2d` is not available with Keras 3.
Does someone have any suggestion how to install the tensorflow==2.14.0 when it is not available on pip?
Thanks in advance, Guilherme
Share Improve this question asked Nov 22, 2024 at 15:56 gwsmelogwsmelo 274 bronze badges1 Answer
Reset to default 1tensorflow
2.14.0 requires and provides wheels for Pythons 3.9, 3.10, 3.11.
Use Python 3.11.
本文标签: pythonIssue between MacOS 13 and tensorflowStack Overflow
版权声明:本文标题:python - Issue between MacOS 13 and tensorflow - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302534a1931569.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论