Skip to content
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

pymc and hddm #104

Open
rghnn opened this issue May 12, 2023 · 5 comments
Open

pymc and hddm #104

rghnn opened this issue May 12, 2023 · 5 comments

Comments

@rghnn
Copy link

rghnn commented May 12, 2023

Hi,

I am using python 3.7 as advised and
while installing the pymc==2.3.8

I get the following error:
Building wheels for collected packages: pymc
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for pymc (setup.py) ... error
ERROR: Failed building wheel for pymc
Running setup.py clean for pymc
Failed to build pymc
ERROR: Could not build wheels for pymc, which is required to install pyproject.toml-based projects
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting kabuki
Using cached kabuki-0.6.5.tar.gz (47 kB)

When proceeding with the newest version of pymc, then import hddm package fails to work with the following error:
AttributeError: module 'pymc' has no attribute 'stochastic_from_dist'

Please advise

@moxtoby
Copy link

moxtoby commented May 31, 2023

Hi there, are you still having problems installing HDDM? I am able to run and install an older version of HDDM (0.8.0) with older versions of other packages, but unfortunately the convergence testing functions does not seem to work. I have tried to install the newer version of HDDM (0.9.9) with python 3.8 and pymc = 2.3.8, but now I can't get pandas and matplotlib to work. I am following this thread (hope it's not dead) hoping someone can help me by letting me know the versions of hddm, python, pymc, pandas, and other packages that have been shown to work together. For example, I would love to know all the package versions that the tutorial is based on (https://hddm.readthedocs.io/en/latest/tutorial_basic_hddm.html). I think the hddm is on 0.9.6 (however I am not able to install this version on the exe prompt in anaconda for some reason?) Fingers crossed for some help.

@dgraetz
Copy link

dgraetz commented Jun 30, 2023

I have the same issue on a Windows 11 machine with fresh anaconda installed. If I use these commands:

conda activate py 37
conda install cython
conda install numpy
pip install pymc #can't install the pymc version they used
conda install netcdf4
conda install hdf5
conda install git
pip install git+https://github.com/AlexanderFengler/ssms@main
pip install git+https://github.com/hddm-devs/kabuki

, I get almost all the way through the installation instructions, but the last line

pip install git+https://github.com/hddm-devs/hddm

fails:


  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1138 lines of output]
      Compiling src/wfpt.pyx because it changed.
      [1/1] Cythonizing src/wfpt.pyx
        error: subprocess-exited-with-error

        python setup.py bdist_wheel did not run successfully.
        exit code: 1

@zxie52
Copy link

zxie52 commented Aug 15, 2023

same issue that i have already installed the pymc version to 5.7.2 but then when I tried to install the pymc
'pip install pymc ==2.3.8' on debian, I always get error message and cannot further install the hddm

@mrinmayik
Copy link

This isn't really a solution to the HDDM problem. But they recently released an overhauled version HSSM, that is meant to replace HDDM:
https://twitter.com/LnccBrown/status/1683638792220028928
https://github.com/lnccbrown/HSSM

Haven't tried it yet, but I imagine that these compatibility issues should be fixed in this version!

@hcp4715
Copy link
Contributor

hcp4715 commented Nov 3, 2023

Hi, @mrinmayik, @rghnn

We've created a docker image for HDDM to make HDDM works. Here it is: https://hub.docker.com/r/hcp4715/hddm. Please let us know if you have any questions when using the docker images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants