No module named objc

I’m trying to use cocoa-python with Xcode but it always calls up the error:

Traceback (most recent call last):
  File "main.py", line 10, in <module>
    import objc
ImportError: No module named objc

This seems to be because dispite all my attempts to install or find objc and the other modules used by that file, they are simply not on my computer that I can tell, so does anyone know where I can download the actual files (or could put up their own copies?) as in objc.py, Foundation.py, AppKit.py and PyObjCTools.py?

  • Is there a function that checks if a character in a string is a letter in the alphabet? (Swift)
  • How to call Python code from an existing iOS project written in Swift
  • How can get ' USDJPY'(currency rates) with pandas and yahoo finance?
  • Objective-C/Swift regex matching across multliple lines
  • SSLSocket passphrase/password in Python
  • Is this a bug in this gzip inflate method?
  • 2 Solutions Collect From Internet About “No module named objc”

    http://pyobjc.sourceforge.net/ is the homepage of the whole PyObjC project, so if for some reason it isn’t installed along OS X, you can always download it from there.

    In MacOSX put on console:

    pip install -U pyobjc