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
./ProperTree.py
Traceback (most recent call last):
File "ProperTree-master/./ProperTree.py", line 2, in
import sys, os, binascii, base64, json, re, subprocess, webbrowser, multiprocessing, signal, ctypes
File "/usr/lib/python3.12/ctypes/init.py", line 157, in
class py_object(_SimpleCData):
AttributeError: class must define a 'type' attribute
Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] on linux
thx
The text was updated successfully, but these errors were encountered:
Hmm - that looks to be an issue importing the built-in module ctypes which comes with the standard lib. I wonder if there's some issue with your python install? You could try opening a terminal, then typing python3 to start the python interpreter, then type import ctypes and see if it reports the same error. If so - then it's not an issue with ProperTree, but likely with your python install or local env.
Alternatively, if others have the same issue, I can wrap the ctypes import in a try/except to catch errors - but since it's a built-in module, that shouldn't be needed.
edit: ok I have to remove ", ctypes"
44b5bb1
./ProperTree.py
Traceback (most recent call last):
File "ProperTree-master/./ProperTree.py", line 2, in
import sys, os, binascii, base64, json, re, subprocess, webbrowser, multiprocessing, signal, ctypes
File "/usr/lib/python3.12/ctypes/init.py", line 157, in
class py_object(_SimpleCData):
AttributeError: class must define a 'type' attribute
Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] on linux
thx
The text was updated successfully, but these errors were encountered: