Install paho-mqtt for python on mac

broken image
broken image

Site-packages are usually inside your system lib folder. Please note, when you directly copy and paste pip list will not display the package you copied. I have just verified paho-mqtt 1.2 for Python2 is exactly the same as paho-mqtt 1.2 for Python3 using a Meld diff tool. Or if it does not work, you can literally copy and paste the paho folder from your Python2.7 site-packages folder to your Python3 site-packages folder. Try using pip3 install paho-mqtt python-etcd instead. You have installed Python3 but for some reason the interpreter defaults to version 2.7 in Linux.