AttributeError: partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import) #14036
Replies: 4 comments 13 replies
-
This typically means you have some kind of mismatch between the version of
To fix it, try updating to the most recent jax/jaxlib version:
(If you need GPU support, see the install guide) Also be certain to restart your Colab runtime any time you update packges, otherwise cached package versions may be used and could cause the error you're seeing. |
Beta Was this translation helpful? Give feedback.
-
I was getting the same issue, and I uninstalled and used conda forge to reinstall jax and jaxlib |
Beta Was this translation helpful? Give feedback.
-
Switching from Anaconda on Windows to WSL2 solved the issues for me. Not a full fix but a quick one. |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, but then I uninstalled jax and jaxlib, and re-installed GPU version of jax with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use jax.numpy and am getting the error "AttributeError: partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import)" Nothing I have tried worked and would appreciate any help.

Beta Was this translation helpful? Give feedback.
All reactions