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

Dependency issue with networkx #1136

Closed
celprov opened this issue Sep 8, 2023 · 0 comments · Fixed by #1137
Closed

Dependency issue with networkx #1136

celprov opened this issue Sep 8, 2023 · 0 comments · Fixed by #1137
Labels

Comments

@celprov
Copy link
Collaborator

celprov commented Sep 8, 2023

What happened?

For some good reason not relevant here, I'm trying to run MRIQC locally.
However, I'm getting dependency error with networkx.

Locally, the pip installation installs networkx v.3.1. However, in that version the function 'to_scipy_sparse_matrix' has changed name to 'to_scipy_sparse_array'

What command did you use?

I created a new environment to host my MRIQC v23.1.0 installation

conda create -n mriqc-23.1.0 python
conda activate mriqc-23.1.0

I then install MRIQC and dependencies with pip
python -m pip install -U mriqc==23.1.0

and run MRIQC barebone

What version of the software are you running?

mriqc 23.1.0 or 23.0.1, networkx 3.1

How are you running this software?

Local installation ("bare-metal")

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

AttributeError: module 'networkx' has no attribute 'to_scipy_sparse_matrix'

Additional information / screenshots

No response

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

Successfully merging a pull request may close this issue.

1 participant