-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Install error in Pymc: module 'pymc' has no attribute 'stochastic_from_dist' #204
Comments
That other package most likely does not support the new version of PyMC. You should install pymc3 or if that is a really really old package |
Emmm,I have ‘pymc3-3.11.5-py3-none-any.whl’ but when I try to change (import pymc as pm) to (import pymc3 as pm), this problem still exist, error like AttributeError: module 'pymc3' has no attribute 'stochastic_from_dist' |
Interestingly, I can successfully import pymc or pymc3, so I wonder whether the name of "stochastic_from_dist" was replaced by anthor name~ |
That library relies on a very old version of pymc. You will have to downgrade by doing |
lol, I try “python -m pip install pymc<4” from (pymc == 2) to (pymc == 2.3.8), but both of them can not install. And I find they work on linux or macosx. Is there any version can directly install by ‘python -m pip install pymc<4’,Thank ~ |
@ChenghuFeng You should ask for installation help in the the library repository https://github.com/hddm-devs/kabuki We no longer support that version of PyMC here. |
@ChenghuFeng Did you follow the HDDM install instructions? Best to email the HDDM mailing list. |
Thank for suggestion, I try it now ( follow the HDDM install instructions) |
@ricardoV94 @twiecki Thanks for all your suggestion. I try to downgrade my python to 3.8, and it work~ I thought maybe I install a package with wrong version before~ |
Hi here,
I am a biggner in python, and I try to install pymc and meet some error, which another package(kabuki) could not find stochastic_from_dist from pymc
HalfCauchy = pm.stochastic_from_dist(name="Half Cauchy",
AttributeError: module 'pymc' has no attribute 'stochastic_from_dist'
Versions and main components
The text was updated successfully, but these errors were encountered: