-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'config' from 'jax.config' #549
Comments
Hi! @Zethson Please may I have some assistance with this too? I note that this issue has been closed 3 weeks ago, but it is still happening for me using a fresh install of pertpy. ImportError Traceback (most recent call last) File /scbio4/home/samuel/miniforge3/envs/py3116-env/lib/python3.11/site-packages/pertpy/init.py:19 File /scbio4/home/samuel/miniforge3/envs/py3116-env/lib/python3.11/site-packages/pertpy/tools/init.py:24 File /scbio4/home/samuel/miniforge3/envs/py3116-env/lib/python3.11/site-packages/pertpy/tools/init.py:18 File /scbio4/home/samuel/miniforge3/envs/py3116-env/lib/python3.11/site-packages/pertpy/tools/_coda/_sccoda.py:12 ImportError: cannot import name 'config' from 'jax.config' (/scbio4/home/samuel/miniforge3/envs/py3116-env/lib/python3.11/site-packages/jax/config.py) Thank you so much! Best Regards, |
Hi again, just to update that I managed to solve this by compiling the latest version of pertpy instead of using pip install. Thank you! |
Sorry about that. We ll make a release ASAP |
@SamuelCWJ how do you compile the latest version? I'm hitting the same error. |
Hi @spatts14 , I followed their instructions here: https://pertpy.readthedocs.io/en/latest/installation.html $ curl -OJL https://github.com/theislab/pertpy/tarball/master |
You can also just Again, sorry about this - release ASAP! |
Thank you both! All set now :) |
how to fix this "ImportError: cannot import name 'config' from 'jax.config'" |
@majmal7 please install from the main branch as outlined here. A new release will happen within the next 3-7 days. |
Report
scvi-tools were installed from main branch, the environment was brand new. jax was at the latest version.
Version information
No response
The text was updated successfully, but these errors were encountered: