rastermap icon indicating copy to clipboard operation
rastermap copied to clipboard

error on launching, please see the error below:

Open brakela opened this issue 4 years ago • 2 comments

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'

brakela avatar Jul 23 '21 02:07 brakela

Getting same error - any resolution?

penguingiraffe2 avatar May 04 '22 19:05 penguingiraffe2

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

penguingiraffe2 avatar May 04 '22 19:05 penguingiraffe2

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

jbscherrer avatar Apr 17 '23 21:04 jbscherrer

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

nataliekoh avatar Aug 02 '23 19:08 nataliekoh

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

carsen-stringer avatar Aug 02 '23 20:08 carsen-stringer

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!

nataliekoh avatar Aug 02 '23 21:08 nataliekoh

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

carsen-stringer avatar Aug 03 '23 12:08 carsen-stringer