MouseLand / rastermap

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

error on launching, please see the error below: #11

Closed brakela closed 1 year ago

brakela commented 3 years ago

Traceback (most recent call last): File "/home/idl/anaconda3/envs/rastermap/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/idl/anaconda3/envs/rastermap/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/idl/anaconda3/envs/rastermap/lib/python3.9/site-packages/rastermap/main.py", line 2, in from rastermap import gui File "/home/idl/anaconda3/envs/rastermap/lib/python3.9/site-packages/rastermap/gui.py", line 12, in import rastermap.run File "/home/idl/anaconda3/envs/rastermap/lib/python3.9/site-packages/rastermap/run.py", line 6, in class RunWindow(QtGui.QDialog): AttributeError: module 'PyQt5.QtGui' has no attribute 'QDialog'

penguingiraffe2 commented 2 years ago

Getting same error - any resolution?

penguingiraffe2 commented 2 years ago

This looks like an issue between things written for pyqt4 but what is being installed is pyqt5

jbscherrer commented 1 year ago

I'm also getting this issue--did anyone figure out a workaround?

nataliekoh commented 1 year ago

Encountering this same issue on Windows 10. @carsen-stringer Any idea how to resolve this?

carsen-stringer commented 1 year ago

please pip install rastermap --upgrade, this code has been removed

nataliekoh commented 1 year ago

Hi Carsen, I've done that (both just, and also about an hour ago), but I am still encountering the same error. The installation step says any version of Python > 3.0 should work; but do you have a recommended version, e.g. 3.9 instead of 3.7 maybe? I can try a fresh install in a new conda environment to see if that gets rid of the issue. Thanks!

carsen-stringer commented 1 year ago

Ah yes please try making a new environment, you need python 3.8 or higher