Skip to content

Install fails on Mac OS 10.11.6 El Capitan #21

@redpola

Description

@redpola
[build step removed]
scrape:cython-hidapi neil$ python setup-mac.py install
running install
running build
running build_ext
skipping 'hid.c' Cython extension (up-to-date)
running install_lib
copying build/lib.macosx-10.11-intel-2.7/hid.so -> /Library/Python/2.7/site-packages
error: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/hid.so'
scrape:cython-hidapi neil$ sudo python setup-mac.py install
Traceback (most recent call last):
  File "setup-mac.py", line 3, in <module>
    from Cython.Distutils import build_ext
ImportError: No module named 'Cython'
scrape:cython-hidapi neil$ pip install cython
Requirement already satisfied (use --upgrade to upgrade): cython in /Library/Python/2.7/site-packages

Non-root install fails.

Root install fails with "no cython" error.

Cython seems installed.

Forgive me if I'm doing anything stupid - I don't know much about running python on a mac. I believe I'm following all the instructions provided though, and I'm at a dead end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions