Trying to install MQTT on my Raspberry Pi 3


I am trying to install the MQTT drivers from Cayenee on my RPI 3 running Raspian. When I run the following command

git clone
cd Cayenne-MQTT-Python
python instal

I get the following error:

[Errono 13] Permission denied: ‘/usr/local/lib/python2.7/dist-package/test-easy-install-3142.write-test’

Perhaps your account does not have write access…

I am logged in as pi which should be root so I don’t know what I am missing. I have python 3 running so I don’t know what I am missing. Can anyone help me on this?



try sudo python install


Looks like it worked. I needed sudo. Can’t believe I forgot that.



I’m glad Adam was able to help you @riley_wright!