arvydas / blinkstick-python

BlinkStick Python interface to control devices connected to the computer
Other
136 stars 53 forks source link

sudo command not found #76

Open kennetheversole opened 3 years ago

kennetheversole commented 3 years ago

I have followed the instructions to install blinkstick sitck

sudo pip3 install blinkstick

but I am getting whenever I try to test it

sudo blinkstick --pulse red
sudo: blinkstick: command not found

OS: ubuntu 20.04 Python: 3.8

chriskacerguis commented 3 years ago

Ran into the same issue. Here's how I fixed it...

#!/usr/bin/env python to #!/usr/bin/env python3

RugnirViking commented 2 years ago

Unable to fix here with @chriskacerguis solution, /usr/local/bin/blinkstick doesn't exist after pip installing blinkstick

edit: I fixed it by pip installing it on the system python 2.7 (ubuntu 20.04) which created it correctly and then afterwards doing @chriskacerguis 's solution to get it running with python3