You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that hidapi is a cython package and cython is not installed by default on Raspbian Stretch Lite.
I'd suggest adding a note to README.md:
Note that hidapi requires cython (sudo apt-get install cython) to be installed, otherwise pip install hidapi will result in an error code 1 in gcc.
Such a short note would have saved me at least an hour of wondering why it worked on a macbook but not a Raspberry Pi 3 B+ and might help others as well.
The text was updated successfully, but these errors were encountered:
I've tested this a bit further by re-installing Raspbian and co2meter. Likely, the problem wasn't cython but libudev-dev. While testing both of them were installed as dependencies and co2meter worked afterwards but I only noticed cython to get installed.
Anyway, if other people have similar problems: the following installation routine works on a fresh Raspbian Stretch Lite
Note that hidapi is a cython package and cython is not installed by default on Raspbian Stretch Lite.
I'd suggest adding a note to README.md:
Such a short note would have saved me at least an hour of wondering why it worked on a macbook but not a Raspberry Pi 3 B+ and might help others as well.
The text was updated successfully, but these errors were encountered: