pyro-ppl / numpyro

Probabilistic programming with NumPy powered by JAX for autograd and JIT compilation to GPU/TPU/CPU.
https://num.pyro.ai
Apache License 2.0
2.09k stars 227 forks source link

ImportError: cannot import name 'CAR' from "numpyro.distrubutions.continuous' #1781

Closed ttakayaflexpower closed 1 month ago

ttakayaflexpower commented 2 months ago

When I tried to import numpyro, I got the following error: ImportError: cannot import name 'CAR' from 'numpyro.distributions.continuous'

I checked the .distributions.continuous module that lives in Lib/site-packages but there is 'CAR' function defined in line 1536. Why does installing the package not work?

I installed numpyro after uninstalling jax and running a command pip install numpyro. The version is 0.14.0 as in the output of pip freeze below. image

I would appreciate any help!

fehiepsi commented 2 months ago

I think that your workspace might not be setup correctly. Could you try to remove numpyro then install it again?

fehiepsi commented 1 month ago

Closed because I think this is a problem with the workspace. Please feel free to reopen.