Python Forum
PyGUI installation issue - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: PyGUI installation issue (/thread-42403.html)



PyGUI installation issue - Wallflower - Jul-01-2024

I get is this error:

$ python blobedit.py
Traceback (most recent call last):
File "blobedit.py", line 1, in <module>
from GUI import Window, Label, Font, application
File "/usr/local/lib/python2.7/site-packages/GUI/Window.py", line 12, in <module>
from GUI.Utils import NSMultiClass, PyGUI_NS_EventHandler, PyGUI_Flipped_NSView
File "/usr/local/lib/python2.7/site-packages/GUI/Utils.py", line 71, in <module>
class PyGUI_NSActionTarget(NSObject):
objc.BadPrototypeError: Objective-C expects 1 arguments, Python argument has 3 arguments for <unbound selector call_method of PyGUI_NSActionTarget at 0x10933a578>

Any help, ideas?


RE: PyGUI installation issue - Gribouillis - Jul-01-2024

Suggestion: Remove python2.7 from your computer and install a modern Python.