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

install instructions fail #102

Open
dmd opened this issue Apr 25, 2023 · 1 comment
Open

install instructions fail #102

dmd opened this issue Apr 25, 2023 · 1 comment

Comments

@dmd
Copy link

dmd commented Apr 25, 2023

The install instructions state:

In a fresh environment (we recommend to use python 3.7) type.

pip install cython
pip install pymc==2.3.8 # backend probabilistic programming framework (DO NOT USE CONDA HERE)
pip install git+https://github.com/AlexanderFengler/ssms@main  # package for data simulation
pip install git+https://github.com/hddm-devs/kabuki # backbone package for hddm to connect to pymc
pip install git+https://github.com/hddm-devs/hddm

First of all, if you're in a fresh environment as instructed, the 2nd line of that will fail because numpy is not installed.

Second, on the 3rd line, ssms fails installation with

(pkumar) root@5421a91f5f80:/# pip install git+https://github.com/AlexanderFengler/ssms@main
Collecting git+https://github.com/AlexanderFengler/ssms@main
  Cloning https://github.com/AlexanderFengler/ssms (to revision main) to /tmp/pip-req-build-_vva6wxi
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Compiling src/cssm.pyx because it changed.
    [1/1] Cythonizing src/cssm.pyx
    Command "/pkumar/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-588fk81b --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools<60.0 wheel Cython>=0.28.5 "oldest-supported-numpy; python_version!='3.7' or platform_machine=='aarch64' or platform_system=='AIX' or platform_python_implementation == 'PyPy'" "numpy==1.14.6; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'" scipy>=1.1.0" failed with error code 1 in None
    /tmp/pip-build-env-ugs73wkf/lib/python3.7/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

            ********************************************************************************
            Requirements should be satisfied by a PEP 517 installer.
            If you are using pip, you can try `pip install --use-pep517`.
            ********************************************************************************

    !!
      dist.fetch_build_eggs(dist.setup_requires)
    Traceback (most recent call last):
      File "/tmp/pip-build-env-ugs73wkf/lib/python3.7/site-packages/setuptools/installer.py", line 96, in _fetch_build_egg_no_warn
        subprocess.check_call(cmd)
      File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/pkumar/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpchi3iztu', '--quiet', 'scikit-learn>=0.24.0']' returned non-zero exit status 1.

This is in a brand new Debian Buster container. The only things that have been installed are gfortran and pip install wheel. What am I missing?

@hcp4715
Copy link
Contributor

hcp4715 commented Nov 3, 2023

Hi, @dmd

You may check our docker image for HDDM: https://hub.docker.com/r/hcp4715/hddm. It works well for windows/linux/macOS.

Best
Chuan-Peng

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

2 participants