You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
Next the
QApplication
seems to not some from the given imports, maybe it moved around in the Qt library?The text was updated successfully, but these errors were encountered: