Open yuifu opened 1 year ago
I also encountered this issue, tried to set numpy to 1.19.5 but the python 3.11 is not supporting this
Also after getting the numpy error fixed I get another error :
Traceback (most recent call last): File "/Users/miniconda3/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 2142, in showtraceback stb = self.InteractiveTB.structured_traceback( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/miniconda3/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1435, in structured_traceback ... ^^^^^ File "/Users/miniconda3/lib/python3.11/site-packages/executing/executing.py", line 116, in only raise NotOneValueFound('Expected one value, found 0')
I am getting the same error too.
I also encountered this error. I tried numpy 1.18 but this didn't work beacuse it is incompatible with pandas.
This error should have been fixed a few months ago. Could you try reinstalling development version or 0.2.0 version on Pypi? @yuifu @sealx017 @heksaani @biyang-bioinfo
Reinstalling version 0.2.0 fixed this issue. Thanks!
This error should have been fixed a few months ago. Could you try reinstalling development version or 0.2.0 version on Pypi? @yuifu @sealx017 @heksaani @biyang-bioinfo
Thank you for creating such a wonderful software!
I immediately installed SpatialDM and tried running melanoma.ipynb, but I got an error. https://github.com/StatBiomed/SpatialDM/blob/main/tutorial/melanoma.ipynb
Here is the code cell where the error occurred:
The error is as follows:
My environment is
So, I think the above issue would occur when users use numpy >1.20.
I would appreciate it if you could update the code to avoid deprecation concerning np.float.