scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.71k stars 641 forks source link

Warning - Please Help! #343

Open Unhallowed1949 opened 3 years ago

Unhallowed1949 commented 3 years ago

I've never used a Raspberry Pi or anything other than Windows 10 at its basic level. This is my first attempt. I've managed to get my Pi up and running, connected to the internet, running headless mode using SSH and Putty, installed Github, and installed Python.

However, after the command "sudo python3 install.py" command, I received a warning

Collecting numpy Downloading https://www.piwheels.org/simple/numpy/numpy-1.21.2-cp37-cp37m-linux_armv7l.whl (12.3 MB) |████████████████████████████████| 12.3 MB 7.8 kB/s Collecting scipy==1.4.1 Downloading https://www.piwheels.org/simple/scipy/scipy-1.4.1-cp37-cp37m-linux_armv7l.whl (50.7 MB) |████████████████████████████████| 50.7 MB 185 bytes/s Collecting pyaudio Downloading https://www.piwheels.org/simple/pyaudio/PyAudio-0.2.11-cp37-cp37m-linux_armv7l.whl (53 kB) |████████████████████████████████| 53 kB 17 kB/s Collecting pyqtgraph Downloading https://www.piwheels.org/simple/pyqtgraph/pyqtgraph-0.12.2-py3-none-any.whl (959 kB) |████████████████████████████████| 959 kB 346 kB/s Installing collected packages: numpy, scipy, pyqtgraph, pyaudio Successfully installed numpy-1.21.2 pyaudio-0.2.11 pyqtgraph-0.12.2 scipy-1.4.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv ================== Completed Installing Numpy, Scipy, PyAudio, PyQtgraph ================== ================== Start Installing rpi_ws281x ================== Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting rpi_ws281x Downloading https://www.piwheels.org/simple/rpi-ws281x/rpi_ws281x-4.3.0-cp37-cp37m-linux_armv7l.whl (116 kB) |████████████████████████████████| 116 kB 355 kB/s Installing collected packages: rpi-ws281x Successfully installed rpi-ws281x-4.3.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv ================== Completed Installing rpi_ws281x ================== ================== Copying asound.conf ================== ================== Completed copying to /etc/asound.conf ================== ================== Creating backup of alsa.conf ================== ================== Completed backup of alsa.conf -> alsa.conf.bak ================== ================== Replacing text in alsa.conf ==================

I haven't the slightest clue what this means and when I visited the https://pip.pypa.io/warnings/venv, I couldn't make sense of what it was trying to tell me.

Any suggestions? Keep in mind that I'm barely able to even navigate the Raspberry Pi at this point. It took a while for me to realize that the wpa supplicant wasn't connecting me to the internet for me and that I had to first connect to the internet.... so please bear with me. Thanks!

joeybab3 commented 3 years ago

It seems that those warnings are just that, warnings. Were you able to run the software after that?

Unhallowed1949 commented 3 years ago

It took a bit of messing around but I managed to get it to run. It wouldn't run because it didn't sense a mic. Fixed that issue but the LED strip does nothing. The first 2 LEDs are lit and kind of flicker like a candle but that's it. I think, I hope that my LED strip is bad and it works with the new one I ordered because the code seems to be running right.

joeybab3 commented 3 years ago

Have you run some of the other demo led sketches to confirm that it's the strip?

joeybab3 commented 3 years ago

Have you had any further testing or issues with this?

Unhallowed1949 commented 3 years ago

I haven’t gone back to this set up exactly but I’ve been using WLED with LEDfx without issues. I’ll post something if I mess around with this again.