In order for this code to access the Stream Deck on linux, you have to install the udev rule 99-streamdeck.rules
This project is currently not puplished on PyPi, so you have to manuallay install it with pip instead: pip install git+git://github.com/MichaelBrunn3r/PStreamDeck.git#egg=streamdeck