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

Getting an error message: ModuleNotFoundError: No module named 'scipy.sparse.linalg.eigen.arpack'; 'scipy.sparse.linalg.eigen' is not a package #21

Open
pranavlal opened this issue Mar 25, 2023 · 1 comment

Comments

@pranavlal
Copy link

Hi all,

I am trying to use easyesn in a python project.
When I run my code, I get the following error.

[code]
ModuleNotFoundError: No module named 'scipy.sparse.linalg.eigen.arpack'; 'scipy.sparse.linalg.eigen' is not a package
[/code]

A portion of my code is below.
[code]
from easyesn import ClassificationESN as esn
esn.fit(x_train, y_train, transientTime=100, verbose=1)
[/code]

What am I doing wrong? I am running the code under a pip virtual environment.

I am running on python 3.10.10 on arch linux. Scipy is accessible.
[code]

import scipy
scipy.version
'1.10.1'

[/code]

@flohey
Copy link

flohey commented Mar 29, 2023

Dear pranavlal,

it looks to me that some scipy modules that easyesn uses shifted in the newer version of scipy that you are using. Scipy version 1.7.1. works for me.

Consider downgrading your scipy or change the easyesn backend.

Best,
Florian

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