Closed SimonE1220 closed 2 months ago
You can install from main where this is fixed . We'll make a new release this weekend! Sorry for the inconvenience...
Apr 12, 2024 4:09:55 PM SimonE1220 @.***>:
Report
If i import the pertpy, this error appears
ImportError Traceback (most recent call last) in <cell line: 1>() ----> 1 import pertpy as pt 2 import scanpy as sc
3 frames /usr/local/lib/python3.10/dist-packages/pertpy/tools/_coda/_sccoda.py[https://localhost:8080/#] in 10 from anndata import AnnData 11 from jax import random ---> 12 from jax.config import config 13 from mudata import MuData 14 from numpyro.infer import Predictive
ImportError: cannot import name 'config' from 'jax.config' (/usr/local/lib/python3.10/dist-packages/jax/config.py)
Version information
/No response/
— Reply to this email directly, view it on GitHub[https://github.com/theislab/pertpy/issues/584], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFHQA2C23BSWILRLIDS43STY47TLDAVCNFSM6AAAAABGEG63HKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DAMRTHA4DAMA]. You are receiving this because you are subscribed to this thread. [Tracking image][https://github.com/notifications/beacon/AFHQA2HKA4DQZZNNGQ4SB5DY47TLDA5CNFSM6AAAAABGEG63HKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHILB2U2A.gif]
Report
If i import the pertpy, this error appears
ImportError Traceback (most recent call last) in <cell line: 1>()
----> 1 import pertpy as pt
2 import scanpy as sc
3 frames /usr/local/lib/python3.10/dist-packages/pertpy/tools/_coda/_sccoda.py in
10 from anndata import AnnData
11 from jax import random
---> 12 from jax.config import config
13 from mudata import MuData
14 from numpyro.infer import Predictive
ImportError: cannot import name 'config' from 'jax.config' (/usr/local/lib/python3.10/dist-packages/jax/config.py)
Version information
No response