I am using this tutorial (from 2013) with PyObjC (http://blog.adamw523.com/os-x-cocoa-application-python-pyobjc/).
However, when running after using python setup.py py2app
, I am getting the following error when running "dist/RocketGui.app/Contents/MacOS/RocketGui":
Mar 19 20:43:19 RocketGui[1863] <Notice>: Traceback (most recent call last):
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "/Users/*******/Desktop/Projects/Rocket/Software/dist/RocketGui.app/Contents/Resources/__boot__.py", line 136, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: _run()
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "/Users/*******/Desktop/Projects/Rocket/Software/dist/RocketGui.app/Contents/Resources/__boot__.py", line 121, in _run
Mar 19 20:43:19 RocketGui[1863] <Notice>: exec(compile(source, path, 'exec'), globals(), globals())
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "/Users/*******/Desktop/Projects/Rocket/Software/dist/RocketGui.app/Contents/Resources/RocketGui.py", line 1, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: from Cocoa import *
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "Cocoa/__init__.pyc", line 8, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "objc/__init__.pyc", line 32, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "objc/_bridgesupport.pyc", line 13, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: File "pkg_resources/__init__.pyc", line 49, in <module>
Mar 19 20:43:19 RocketGui[1863] <Notice>: ImportError: No module named moves
Mar 19 20:43:19 RocketGui[1863] <Notice>: 2016-03-19 20:43:19.989 RocketGui[1863:8841237] RocketGui Error
I have done the following:
pip install -U six
However, after poking around online, it looks like PyObjC might no longer be supported. Is there a fix to this or should I switch frameworks (I prefer something I can install with pip)?