MouseLand / rastermap

a visualization method for neural data
GNU General Public License v3.0
192 stars 46 forks source link

ModuleNotFoundError: No module named 'rastermap.mapping' #17

Closed rishachakraborty closed 1 year ago

rishachakraborty commented 1 year ago

Hello,

When running python -m suite2p, I run into the ModuleNotFoundError: No module named 'rastermap.mapping' error, corresponding to the line from rastermap.mapping import Rastermap in suite2p/gui/visualize.py", line 13. Perhaps this has something to do with the recent Rastermap update. rastermap.mapping module might be renamed to rastermap.

I'd appreciate any help. Thank you!

Risha

ZilongJi commented 1 year ago

Same issue as above! I was running python -m suite2p, and has this error: ModuleNotFoundError: No module named 'rastermap.mapping'. Thank you!

saramoberg commented 1 year ago

I the same problem but in another issue. They solved it by opening the visualize.py file and changing the line 13 from "from rastermap.mapping import Rastermap" to "from rastermap import Rastermap". I had the same issue and this also worked for me

carsen-stringer commented 1 year ago

sorry about this, please pip install suite2p --upgrade, @chriski777 fixed this