Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on Mac OS 10.11.6 El Capitan #21

Open
redpola opened this issue Aug 27, 2016 · 1 comment
Open

Install fails on Mac OS 10.11.6 El Capitan #21

redpola opened this issue Aug 27, 2016 · 1 comment

Comments

@redpola
Copy link

redpola commented Aug 27, 2016

[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.

@atom2626
Copy link

atom2626 commented Apr 6, 2017

I had the same issue and fixed after installing Cython.

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

No branches or pull requests

2 participants