我正在将新的 M1 Pro 与最新的 Mac OS 12.1 一起使用,但在安装 TensorFlow 时遇到问题。
我使用以下命令安装了 Miniforge3:
chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
Run Code Online (Sandbox Code Playgroud)
我已经创建了一个环境并将其激活。
然后我尝试了
conda install -c apple tensorflow-deps
Run Code Online (Sandbox Code Playgroud)
这是返回的内容:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- tensorflow-deps
Current channels:
- https://conda.anaconda.org/apple/osx-64
- https://conda.anaconda.org/apple/noarch
- https://repo.anaconda.com/pkgs/main/osx-64
- …Run Code Online (Sandbox Code Playgroud)