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

Issue importing python modules (AppKit) #75

@gorjious

Description

@gorjious

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions