SpatialDE icon indicating copy to clipboard operation
SpatialDE copied to clipboard

AttributeError: Module 'scipy' has no attribute 'arange'

Open Zhixuan-Jing opened this issue 11 months ago • 6 comments

In execution of spatialDE.run, the follow error occurs: 1710054964548

It is verified that scipy has no attribute of arange, maybe it could be range()?

Zhixuan-Jing avatar Mar 10 '24 07:03 Zhixuan-Jing

had the same issue, upon checking, found that the utli.py file was written wrong. to fix this, please 1.change "import scipy as sp" to "import numpy as np" 2. replace all the sp.array, sp.arange to np.array and np.arange 3. exit and re import spatialDE, error should be fixed.

Polligator avatar Apr 16 '24 20:04 Polligator

+1 to this issue.

imran-aifi avatar Jun 07 '24 19:06 imran-aifi

+1

Mena-SA-Kamel avatar Jun 17 '24 19:06 Mena-SA-Kamel

+1

sykesmarc avatar Jul 23 '24 10:07 sykesmarc