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
ImportError: numpy.core._multiarray_umath failed to import #87
Comments
Dear Yihan, It is difficult for me to debug specific environment issues. As a general comment - we had so far good success with using Conda for managing environments. I would recommend that you install conda and then create a conda environment for spladder like so:
I hope this helps. Best, Andre |
Hi Andre, Do you mind posting the versions of the packages for a working installation of spladder? Based on the import error and the responses from the link I referenced, I need to update numpy to 1.16.2 or higher. However, spladder requires numpy<1.15.0, which causes a dependency conflict. I can install the packages independently but I would like to know which specific versions of the other packages are being used. Thanks, |
Dear Yihan, This is a minimal set of packages that works for me in a conda environment, using python 3.6:
I hope this helps. Best, |
Hi Andre, I'm still getting the same error for numpy when I install separately. Do you mind showing me which version of numpy gets installed as a dependency for statsmodels? Thank you for your help, |
Hi Yihau, Thanks for the feedback. I did not catch one of the statements in your earlier posts. Indeed, the requirements are listed as numpy<=1.15. However, this is no longer necessary. I will drop this version requirement from the list. It should work fine with later versions. I am currently running numpy 1.16.2 Cheers, Andre |
Hi Andre, It works! Cheers, |
cycler==0.10.0
h5py==2.9.0
intervaltree==3.0.0
matplotlib==2.1.2
numpy==1.14.5
pandas==0.24.1
patsy==0.5.1
pyparsing==2.4.0
pysam==0.15.2
python-dateutil==2.8.0
pytz==2019.1
scipy==1.2.1
six==1.12.0
sortedcontainers==2.1.0
spladder==2.2.1
statsmodels==0.9.0
Description
I am attempting to install spladder on a cluster inside a virtualenv.
From running
pip install spladder
, everything installs properly.What I did
However, when I attempt to run
spladder
on the command line, an error occurs (see below).This appeared related to other issues such as this one so I attempted to update numpy to 1.16.2.
Another error was raised.
I'm not quite sure where the problem lies with the dependencies.
Any help would be appreciated!
Yihan
The text was updated successfully, but these errors were encountered: