MouseLand / rastermap

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

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

Closed Shilpadkumar closed 1 year ago

Shilpadkumar commented 1 year ago

Installation of Suite2p goes through but I cannot run Suite2p with 'python -m suite2p'. It reports an error 'ModuleNotFoundError: No module named 'rastermap.mapping''. I also independently installed Rastermap dependency but it still fails to launch suite2p. Is this due to the recent update on the package?

Could you please provide me with any leads to fix this? Thank you!

rishachakraborty commented 1 year ago

Hello! It might help to open the visualize.py file in the suite2p/gui folder and change the line containing the import rastermap.mapping command to import rastermap. I was able to launch suite2p with this fix.

Shilpadkumar commented 1 year ago

Hi Risha,

Thank you! That worked for me too. I appreciate your help!

Best Regards,

Shilpa

carsen-stringer commented 1 year ago

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