Skip to content

don't import #276

Answered by digicosmos86
shu-a-be asked this question in Q&A
Sep 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,

This is because somehow a version of jaxlib that was built for other platforms was installed. Here's a few thing that you can do to resolve this:

  1. Install everything from your system terminal. Before installing anything, use the arch command and ensure that the output is arm64. If it's not, it means that the terminal is running on Rosetta. Turn off rosetta before moving forward.
  2. Install hssm into a fresh virtual environment. Sometimes other packages in the environment might also cause the wrong version of jaxlib to be installed.
  3. Ensure that your Python interpreter is built for arm64. You can check that by getting into the Python REPL and check the version and the build.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shu-a-be
Comment options

Answer selected by digicosmos86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants