SeismicData / asdf_sextant

Experimental graphical user interface to explore ASDF data sets
13 stars 4 forks source link

running asdf-sextant #9

Open hadigh opened 2 years ago

hadigh commented 2 years ago

Hello

I have installed the GUI on an Ubuntu machine following the instructions which went OK. Running asdf-sextant from terminal produces the below error message. I would appreciate any help on this matter :)

Traceback (most recent call last): File "/home/hadi/miniconda/envs/obspy/bin/asdf-sextant", line 5, in from asdf_sextant.main import launch File "/home/hadi/miniconda/envs/obspy/lib/python3.7/site-packages/asdf_sextant/main.py", line 32, in from . import asdf_sextant_window File "/home/hadi/miniconda/envs/obspy/lib/python3.7/site-packages/asdf_sextant/asdf_sextant_window.py", line 44, in from .svg_graphics_view import SvgGraphicsView File "/home/hadi/miniconda/envs/obspy/lib/python3.7/site-packages/asdf_sextant/svg_graphics_view.py", line 4, in class SvgGraphicsView(QtGui.QGraphicsView): AttributeError: module 'PySide2.QtGui' has no attribute 'QGraphicsView'

gferragu commented 2 years ago

Hey @hadigh, did you ever get this worked out? I just ran into the same issue and fixed it by installing pyqtgraph=0.11.0rc0 and then downgrading the conda environment to python=3.7

hadigh commented 2 years ago

@gferragu , Thanks a lot! indeed your suggestion fixed the problem :)