Systematic-LEDs icon indicating copy to clipboard operation
Systematic-LEDs copied to clipboard

Error when running main.py; OSError: [Errno -9996] Invalid device

Open Jameshond700 opened this issue 5 years ago • 2 comments

When i run the main.py file i get the error ''OSError: [Errno -9996] Invalid device''. I am new to all of this. does someone know what i need to do to fix this error?

Jameshond700 avatar Jun 30 '20 14:06 Jameshond700

Try to install portaudio, if you on mac brew install portaudio and install pyaudio pip3 install pyaudio for python3 or pip install pyaudio for python 2.x Try to delete LightProject-master/Systematic-LEDs-master/python/lib/settings.ini and run again.

vladlenskiy avatar Jul 15 '20 11:07 vladlenskiy

Having the same issue, running

pip3 install pyaudio

tells me requirement already satisfied (0.2.11), I also do not have a settings.ini file to delete, any thoughts?

CalebRorty avatar Sep 09 '20 00:09 CalebRorty