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.7k stars 641 forks source link

Visualizer error codes on OSX #195

Open gabrielcarino opened 5 years ago

gabrielcarino commented 5 years ago

Hi I'm pretty new to coding and can't figure out what went wrong, does on anyone have suggestions? screen shot 2019-02-17 at 7 00 04 pm screen shot 2019-02-17 at 6 59 45 pm

joeybab3 commented 5 years ago

Did you install the dependencies as shown in the instructions?

gabrielcarino commented 5 years ago

Did you install the dependencies as shown in the instructions?

"Visualization code is compatible with Python 2.7 or 3.5. A few Python dependencies must also be installed:

Numpy Scipy (for digital signal processing) PyQtGraph (for GUI visualization) PyAudio (for recording audio with microphone)" Is this what I need?

joeybab3 commented 5 years ago

Yes, please follow the instructions and install all the dependencies before trying to run it.

gabrielcarino commented 5 years ago

Hi again, I have no what I'm doing wrong screen shot 2019-02-18 at 10 07 57 am screen shot 2019-02-18 at 10 09 01 am screen shot 2019-02-18 at 10 10 28 am screen shot 2019-02-18 at 10 11 26 am

joeybab3 commented 5 years ago

Sounds like PyAudio didn't install correctly then.

gabrielcarino commented 5 years ago

I've been using pip to install the dependencies, is there another method that might work better?

joeybab3 commented 5 years ago

What are you doing this on, I'm assuming a mac?

gabrielcarino commented 5 years ago

yes

joeybab3 commented 5 years ago

I don't have a mac to test it but i can try and figure it out later

scottlawsonbc commented 5 years ago

How are you running the python code? It's strange that it can't find the other files in the repository.

gabrielcarino commented 5 years ago

I've just been running them from my desktop, but I even tried running in out of the same directory as the dependencies...