Closed ChenghuFeng closed 2 years ago
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 pymc < 4
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 python -m pip install pymc<4
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
Versions and main components