Comments (5)
Same with Debian unstable:
Installing collected packages: hidapi
Running setup.py install for hidapi
building 'hid' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -O2 -pipe -march=native -fPIC -I/home/jbaiter/.envs/spreads/build/hidapi/hidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -c hid.c -o build/temp.linux-x86_64-2.7/hid.o
x86_64-linux-gnu-gcc: error: hid.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
Complete output from command /home/jbaiter/.envs/spreads/bin/python -c "import setuptools;__file__='/home/jbaiter/.envs/spreads/build/hidapi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KtyJO8-record/install-record.txt --single-version-externally-managed --install-headers /home/jbaiter/.envs/spreads/include/site/python2.7:
from cython-hidapi.
Cannot reproduce with pip 1.5 on openSUSE 13.1.
The problem I have on Mac is with pip version 1.4.1. You do have the same version right?
from cython-hidapi.
Hm, no, I have a more recent version:
(hidapi)~ ◆ pip --version
pip 1.5.2 from /home/jbaiter/.envs/hidapi/local/lib/python2.7/site-packages (python 2.7)
Cython is also the most recent version, from pip:
(hidapi)~ ◆ pip freeze |grep Cython
Cython==0.20.1
from cython-hidapi.
Interestingly enough, the problem only arises when Cython was installed in a virtual environment.
If I install hidapi with my system-wide Python/Cython installation, everything works flawlessly....
from cython-hidapi.
I think I have it now, the problem was with an outdated version of virtualenv
. I was using 1.9.1 previously, after an update to 1.11.1, everything works.
from cython-hidapi.
Related Issues (20)
- Crash when calling enumerate from different threads (not simultaneously) HOT 19
- Mac cannot import hid - unable to load shared library HOT 4
- Update to HIDAPI v0.14.0 HOT 4
- Writing to a specific HID interface HOT 2
- Report global errors in device.error() HOT 4
- Incompatible with newly released `Cython==3.0.0` HOT 3
- Make compatible with Cython 3.x
- Don't know how to compile chid.pxd HOT 1
- Add windows DLL to Python package HOT 3
- Wheel for Python 3.12 HOT 5
- Add wrapper for hid_get_report_descriptor HOT 2
- Migration to hidraw as a default backend for pip package HOT 2
- Make a release that supports Cython 3 and later HOT 2
- [Question] Several methods don't work well on Windows and MacOS HOT 2
- Feature request: Add wheel for "musllinux" HOT 1
- 0.14.0: documentation uses `recommonmark` which is now deprecated HOT 3
- add supporting for hid_get_report_descriptor HOT 1
- Possible issue with get_input_report HOT 2
- unknown file type '.pxd' on install HOT 3
- request a new release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cython-hidapi.