Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Issue importing python modules (AppKit) #75

Open
gorjious opened this issue Feb 24, 2019 · 0 comments
Open

Issue importing python modules (AppKit) #75

gorjious opened this issue Feb 24, 2019 · 0 comments

Comments

@gorjious
Copy link

gorjious commented Feb 24, 2019

Hello
I have the Mac version of Rhino/Grasshopper and I have been having an issue importing Python modules in GH. One thing I am not sure of is if ghpython is the same as the python node that comes default in mac GH (on the food4Rhino site it lists ghpython as being for PC). I am specifically having an issue importing AppKit.

With simple typing 'import AppKit' in the python editor window I receive the following error:

screenshot 2019-02-23 at 19 58 04

I have also tried the sys.path method to direct the path to the pyobjc folder which contains both AppKit and objc. When I am on the top-level pyobjc folder I receive the following error:

screenshot 2019-02-23 at 19 57 49

Any idea what the issue is and what I can do to import AppKit/Pyobjc and other modules?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant