AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
343 stars 149 forks source link

Issue with statsmodels in allensdk install #2705

Open ajuavinett opened 1 year ago

ajuavinett commented 1 year ago

Hi all, I'm having issues installing the allensdk, and it looks like it has something to do with statsmodels. I was able to get a working version of the allensdk by using -no-deps and installing lots of packages manually, but I'd rather not go that route. :)

If you run !pip install allensdk in Google Colab or in a fresh conda environment you will receive this error.

The bottom of the error message I receive is:

Collecting simplejson<4.0.0,>=3.10.0 (from allensdk)
  Downloading simplejson-3.19.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.9/137.9 kB 742.4 kB/s eta 0:00:00
Requirement already satisfied: scikit-image>=0.14.0 in /usr/local/lib/python3.10/dist-packages (from allensdk) (0.19.3)
Collecting scikit-build<1.0.0 (from allensdk)
  Downloading scikit_build-0.17.6-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.3/84.3 kB 8.8 MB/s eta 0:00:00
Collecting statsmodels<=0.13.0 (from allensdk)
  Downloading statsmodels-0.13.0.tar.gz (17.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.8/17.8 MB 26.2 MB/s eta 0:00:00
  Installing build dependencies ... done
  error: subprocess-exited-with-error

  × Getting requirements to build 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.
  Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build 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.
slinderman commented 1 year ago

Looks like a duplicate of https://github.com/AllenInstitute/AllenSDK/issues/2687.