Tracebacks in examples

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Tracebacks in examples

Cody Scott-2
A couple of the examples do not work for me with Python 3.7.0 32bit and PyQt5==5.11.2 on Windows 10.

(venv) C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples>python draganddrop\
Traceback (most recent call last):
  File "draganddrop\", line 162, in updateFormatsTable
    text = " ".join(["%02X" % ord(datum) for datum in])
  File "draganddrop\", line 162, in <listcomp>
    text = " ".join(["%02X" % ord(datum) for datum in])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xdc in position 0: ordinal not in range(128)

I was getting this traceback for the opengl\ examples. I think this might be normal but I even tried installing pyopengl but I still get the same traceback.

(venv) C:\Users\Cody\Downloads\PyQt5_gpl-5.11.2\PyQt5_gpl-5.11.2\examples>python opengl\
Traceback (most recent call last):
  File "opengl\", line 100, in initializeGL = self.context().versionFunctions()
ModuleNotFoundError: No module named 'PyQt5._QOpenGLFunctions_4_5_Compatibility'

PyQt mailing list    [hidden email]