hddm-devs / hddm

HDDM is a python module that implements Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC).
http://ski.clps.brown.edu/hddm_docs/
Other
261 stars 117 forks source link

Error in installing hddm: module 'pymc' has no attribute 'stochastic_from_dist' #87

Closed ChenghuFeng closed 2 years ago

ChenghuFeng commented 2 years ago

Hi here, I am a beginner in python, and I try to import hddm I met following problem, which seem caused by pymc. And I try to reinstall pymc many times, but it does not work. It is thankful if someone could solve this problem. (My python version is 3.10, and I can successfully import numpy, pandas, pymc[some warning])

(some error happens seem it could not find pymc's attribute stochastic_from_dist)

ChenghuFeng commented 2 years ago

I install a very new version pymc

jesson3264 commented 1 year ago

I install a very new version pymc

What's your pymc version, I has occoured the error, too.

ChenghuFeng commented 1 year ago

@jesson3264 I finally run hddm by following Hu's guide. It's very simple, hope it helpful to u~ The website following is the guide :)

https://huchuanpeng.com/post/2019-04-29-how-to-install-and-use-hddm/

jesson3264 commented 1 year ago

@jesson3264 I finally run hddm by following Hu's guide. It's very simple, hope it helpful to u~ The website following is the guide :)

https://huchuanpeng.com/post/2019-04-29-how-to-install-and-use-hddm/

Thank you very much!

mrinmayik commented 1 year ago

Hello!

Are there any suggestions for installing PyMC on a Mac (Monterey 12.6)? I'm using Python version 3.9.12.

When I try to install an older version of PyMC using the command pip install pymc==2.3.8 (based on the suggestion here) I get ERROR: Failed building wheel for pymc followed by a bunch of errors.

Any help is appreciated!

Thank you, Mrinmayi