Skip to content

pip installation of netket successful, but loading fails #1930

Answered by PhilipVinc
frolandh asked this question in Q&A
Discussion options

You must be logged in to vote
  • you are using python 3.9 which is no longer supported by recent versions of jax and netket
  • You are running under rosetta, which does not support AVX. Jax requires AVX. You should not run under rosetta.

My new suggestion would be to install uv and use it for everything. It's a much better tool than anything else at managing python installations

curl -LsSf https://astral.sh/uv/install.sh | sh

# go to some folder
mkdir myproject
uv python install 3.12
uv init --no-project
uv run python
# or
uv run python your script.py

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PhilipVinc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1929 on September 23, 2024 18:13.