-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
After installing in a conda environment with conda install pyqglviewer -c fredboudon -c conda-forge, I had the following issues with the starter code:
I believe PyQGLViewer is installed as shown, but qgllogo is unavailable, and I could not find it mentioned on the internet:
In [1]: from PyQGLViewer import *
In [2]: from qgllogo import draw_qgl_logo
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 from qgllogo import draw_qgl_logo
ModuleNotFoundError: No module named 'qgllogo'
Next the QApplication seems to not some from the given imports, maybe it moved around in the Qt library?
In [3]: from PyQt5.QtGui import *
In [4]: qapp = QApplication([])
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[4], line 1
----> 1 qapp = QApplication([])
NameError: name 'QApplication' is not defined
In [5]: from PyQt5.Qt import QApplication
Metadata
Metadata
Assignees
Labels
No labels