相关疑难解决方法(0)

如何在 macOS 12 上的 M1 Mac 上安装 trax、jax、jaxlib?

trax

\n

作为 新手trax,我尝试在本地运行它(macOS 12.1、Apple Silicon ARM M1 处理器、8GB RAM、Anaconda),但遇到了一些问题。

\n

在 python 3.8.5 的环境中,我安装了在 (Anaconda) conda 环境中trax运行。后来,我在尝试使用以下命令在代码中pip3 install trax==1.3.9导入图层时遇到了问题traxfrom trax import layers as tl

\n
RuntimeError: This version of jaxlib was built using AVX instructions, which your CPU and/or operating system do not support. You may be able work around this issue by building jaxlib from source.\n
Run Code Online (Sandbox Code Playgroud)\n

我赶紧用python 3.10启动了一个新的conda环境。然后在尝试安装时遇到了问题trax

\n
macos ERROR: Could not find a version that …
Run Code Online (Sandbox Code Playgroud)

python anaconda jax trax apple-m1

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

anaconda ×1

apple-m1 ×1

jax ×1

python ×1

trax ×1