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

Cannot install xgi #287

Closed
avecsally opened this issue Mar 9, 2023 · 2 comments · Fixed by #288
Closed

Cannot install xgi #287

avecsally opened this issue Mar 9, 2023 · 2 comments · Fixed by #288

Comments

@avecsally
Copy link

Dear contributors,

First of all, thank you so much for the hard work putting all these together. Amazing!
I tried to redo the tutorials, however, I found I cannot install the xgi package at all. How frustrating.
After I pip installed the xgi package, if I go to the notebook and tried to import it, I got this error message that avoid me having the package imported:
"ImportError: cannot import name 'csr_array' from 'scipy.sparse' (/opt/anaconda3/lib/python3.9/site-packages/scipy/sparse/init.py)"
It seems like something's going on with scipy when importing xgi.
I really have no idea how to deal with this problem.

I hope my question would be helpful for your debugging process and looking forward to hearing the solution!

Best wishes,
Sally

@nwlandry
Copy link
Collaborator

nwlandry commented Mar 9, 2023

Dear Sally, thanks so much for the feedback!! And sorry to hear that XGI isn't working. Could you confirm which versions of XGI and scipy you are running so I can better assist?

@iaciac
Copy link
Collaborator

iaciac commented Mar 9, 2023

Hello Sally,
I believe the problem is that xgi now needs a version of scipy which is not the one listed in the requirements (that should be updated). Try to upgrade scipy to the latest version and give it another go ;)
Cheers,
Iac

nwlandry added a commit that referenced this issue Mar 13, 2023
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

Successfully merging a pull request may close this issue.

3 participants