Closed santaimpersonator closed 3 years ago
@edspark Maybe we could link the installation separately, through the setup.py file?
@czanik posted a workaround in issue https://github.com/sparkfun/Qwiic_Py/issues/2 - see https://github.com/sparkfun/Qwiic_Py/issues/2#issuecomment-748487461 _(This is just a copy, while I hide the comment on issue https://github.com/sparkfun/Qwiic_Py/issues/2)_
An ugly workaround:
pip3 uninstall sparkfun-ublox-gps
But at least the sample code from the README now works:
pi@raspberrypi:~ $ python3 Python 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import qwiic Error loading module `ublox_gps`: No module named 'ublox_gps' >>> results = qwiic.list_devices() >>> print(results) [(16, 'Qwiic Titan GPS', 'QwiicTitanGps'), (91, 'Qwiic CCS811', 'QwiicCcs811'), (119, 'Qwiic BME280', 'QwiicBme280')] >>>
Issue is now fixed with the latest commits:
Closing out issue.
There were issues filed in the sparkfun-qwiic Python package:
I know this package uses serial communication, but it is triggering an error with the
list.devices()
method because no I2C address list is available. Since that method is technically "buggy" (https://github.com/sparkfun/Qwiic_Py/issues/2), we can probably ignore this for now.