-
Notifications
You must be signed in to change notification settings - Fork 3
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
import error with raspberry pi #5
Comments
is this solved? I'm getting the same error on a Raspberry Pi 4 using a servo phat to connect the qwiic accelerometer. I'm using python 3.7. |
Has this been solved yet? I am using the Triple Axis Accelerometer Breakout - KX132 on a Raspberry Pi 4B connected with the Sparkfun Raspberry Pi Qwiic SHIM. Raspberry Pi OS and Python version 3.9.2. It gives me the same error. |
I'm getting same error with Nvidia Jetbot |
Hi folks, sorry for the delay on this fix! I had the same problem. Looks like there was a weird character in the comment block that caused this, so I just removed that and it imports fine on my end now. |
Now, I get a different error: Invalid driver class name. Unable to locate QwiicKx13X |
Good catch! I also get this when calling |
I am trying to use this software to interface with the sparkfun triple axis accelerometer breakout. I am using a python 3b+ with the bullseye Raspian OS and python 3.9. The error I'm getting is:
import qwiic_kx13x Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.9/dist-packages/qwiic_kx13x.py", line 334 """ ^ SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xa0 in position 173: invalid start byte
I have also gotten the same error using an older Raspian OS and python 3.5.
The text was updated successfully, but these errors were encountered: