-
Notifications
You must be signed in to change notification settings - Fork 41
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
unable to import pixel_ring #6
Comments
When using
|
Hello,
Any help would be appreciated, |
Hi again, |
I installed pixel-ring. I tried python3. But still getting the same error -
|
Hello, I’m also having the same problem, if I download the pixel_ring package and load the examples from the folder everything works as expected. If I install the package using PIP while I can import pixel_ring when trying to use .wakeup() or other functions its says ‘module ‘ object has no attribute ... Anyone find a fix yet ? |
Ignore my question.. fixed. I was being silly and running the test program from a folder where it has a ‘pixel_ring’.. all working as expected now. |
Fixed this issue by removing everything and installing from scratch. |
I have the same problem. Here is my output
|
I also had such mistakes and I tried different options, but it turned out that I just had to follow this instruction and it worked for me. What did I do to make it work? After installing the image, we update all packages
Then we do as indicated in the documentation ReSpeaker_Core_v2.0 Play with GPIO Step 1. Update MRAA and UPM libraries to latest version
Next, we check the availability of pins, if there are no pins, then Pixel Ring will not work
If there are pins, then we continue and install Pixel Ring, but before installing Pixel Ring, you need to install setuptools-scm
We put Pixel Ring
Run the python script for respeaker_v2_pixel_ring.py and admire the work of LED
|
I have performed everything that is mentioned but still I am not able to import pixel_ring . I am sharing the error below
pi@raspberrypi:~/pixel_ring $ sudo python examples/respeaker_4mic_array.py
Traceback (most recent call last):
File "examples/respeaker_4mic_array.py", line 9, in
from pixel_ring import pixel_ring
ImportError: No module named pixel_ring
The text was updated successfully, but these errors were encountered: