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

Cython not declared as a dependency in setup.py #6

Open
jbaiter opened this issue Aug 23, 2013 · 1 comment
Open

Cython not declared as a dependency in setup.py #6

jbaiter opened this issue Aug 23, 2013 · 1 comment

Comments

@jbaiter
Copy link

jbaiter commented Aug 23, 2013

Currently, an installation from Pip will fail because hidapi does not declare 'Cython' in its requirements.

$ pip install hidapi                                                                                                                                                      
Downloading/unpacking hidapi
  Downloading hidapi-0.7.0-1.tar.gz
  Running setup.py egg_info for package hidapi
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/jojo/.envs/spreads/build/hidapi/setup.py", line 9, in <module>
        from Cython.Distutils import build_ext
    ImportError: No module named Cython.Distutils
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/home/jojo/.envs/spreads/build/hidapi/setup.py", line 9, in <module>

    from Cython.Distutils import build_ext

ImportError: No module named Cython.Distutils

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/jojo/.envs/spreads/build/hidapi
Storing complete log in /home/jojo/.pip/pip.log
strupppi pushed a commit to strupppi/cython-hidapi that referenced this issue Mar 1, 2015
Bug fix and releasing GIL during I/O
@gordon-to
Copy link

Can also result in this error

Installed /Users/ag/projects/csc490-arm/cython-hidapi/.eggs/Cython-0.23.4-py2.7-macosx-10.10-x86_64.egg
/Users/ag/virtualenvs/csc490-arm/lib/python2.7/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '0.7.99-8' to '0.7.99.post8'
  normalized_version,
running build
running build_ext
building 'hid' extension
error: unknown file type '.pxd' (from 'chid.pxd')```

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