Closed
Description
Hi,
Thank you very much for sharing your wonderful work with the community.
I am trying to install brainpy on my apple M2 machine (virtual environment python 3.10.13). I can install everything fine, but when I import brainpy, I get this error:
ImportError: cannot import name 'Primitive' from 'jax.core' (/Users/USER/Work/dev/ei_srp/.venv/lib/python3.10/site-packages/jax/core.py)
I thought installing jax-metal
would do the trick, but it didn't. My pyproject.toml dependencies read as follows:
requires-python = ">=3.10,<3.11"
dependencies = [
"brainpy>=2.6.0.post20241205",
"jax-metal>=0.1.1",
]
Any tips/advice would be awesome as I can't seem to figure it out by forum-browsing and googling.
Cheers!
Metadata
Metadata
Assignees
Labels
No labels