onlaj / Piano-LED-Visualizer

Piano LED Visualizer: Connect an LED strip to your Raspberry Pi and create an immersive visual experience for your piano playing
MIT License
513 stars 111 forks source link

New Update Visualizer doesn't work #354

Closed justkatia closed 2 years ago

justkatia commented 2 years ago

Since I've updated the new version the Visualizer menu doesn't appear on my RPi screen anymore. I tried to look for solutions in the previous issues but none of them worked for me. I removed and reinstalled the Piano-LED-Visualizer but this doesn't work either. I would be thankful for your help :)

onlaj commented 2 years ago

Hello. Can you connect to your RPi through SSH and manually start Visualizer?

Use those commands: sudo pkill python3 to stop working python script

sudo python3 /home/Piano-LED-Visualizer/visualizer.py to start script

If it shows any errors copy and paste them here.

justkatia commented 2 years ago

Yes ssh does work. I tried and I have an import error: ImportError: cannot import name 'safe_join' from 'werkzeug.utils' (/usr/lib/python3/dist-packages/werkzeug/utils.py)

Screen Shot 2022-05-04 at 13 16 10
onlaj commented 2 years ago

Hmm, it should be installed by default, but try sudo pip3 install Werkzeug

justkatia commented 2 years ago

It says: Requirement already satisfied: Werkzeug in /usr/lib/python3/dist-packages (1.0.1)

Screen Shot 2022-05-04 at 13 32 12
onlaj commented 2 years ago

Ok, it seems you have older version installed, try sudo pip3 install Werkzeug --upgrade

justkatia commented 2 years ago

thanks. apparently I could install a new version but now I get another import error if I run the commands xD

Screen Shot 2022-05-04 at 13 43 23
onlaj commented 2 years ago

Maybe try to reinstall all required packages? cd /home/Piano-LED-Visualizer sudo pip3 install -r requirements.txt --upgrade --force-reinstall

justkatia commented 2 years ago

wow thank you :) it worked !

BaseD75 commented 2 years ago

Great thank you, had the same issue

vulcanjedi commented 1 year ago

Thank you! Me too!