【发布时间】:2022-01-14 11:59:24
【问题描述】:
我目前正在尝试在 Docker 容器内或本地 Macbook 上安装 tensorflow。两者都不起作用并返回相同的结果:ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow
我正在使用普通的 pip 安装。码头工人:RUN python3.8 -m pip install -r requirements.txt
麦克:pip3 install tensorflow
我的 pip 版本都是最新的,因为到目前为止我运行了很多次 pip install --upgrade pip,并且每次新尝试都会再次运行。
我无法更改 Docker-Container 中的 Python 版本,因为在同一个容器中还有其他需要 Python 3.8 的软件包。
除了更新 pip oder 安装另一个 Python 版本之外,我很高兴有任何解决该问题的想法,因为这对我来说是不可能的。
我的系统是 Macbook Air 2020 M1。
【问题讨论】:
-
请阅读this article以获得更快更准确的答案。
标签: macos docker pip python-3.8 tensorflow2.x