# Raspberry Pi, unable to install paho-mqtt

**URL:** <https://forum.core-electronics.com.au/t/raspberry-pi-unable-to-install-paho-mqtt/2488>\
**Category:** Raspberry Pi\
**Created:** [13 April 2018 01:56 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-unable-to-install-paho-mqtt/2488 "2018-04-13T01:56:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shikhar60534](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@Shikhar60534](https://forum.core-electronics.com.au/u/Shikhar60534)\
**Post date:** [13 April 2018 01:56 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-unable-to-install-paho-mqtt/2488/1 "2018-04-13T01:56:53Z")

</div>

I have a raspberry pi with raspbian and am following this tutorial:  
[https://core-electronics.com.au/tutorials/getting-started-with-home-automation-using-mqtt.html](https://core-electronics.com.au/tutorials/getting-started-with-home-automation-using-mqtt.html)

I reach an error at the first step:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/1/1d8e28e7d03f58465eaa9811aaeae9b107728ac7.jpg)

Please advise, thank you in advance

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [13 April 2018 03:56 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-unable-to-install-paho-mqtt/2488/2 "2018-04-13T03:56:45Z")

</div>

It might be worth backing up your uSD image, and then setting up a fresh copy of Raspbian (not the lite edition)

> **[Download Raspbian for Raspberry Pi](https://www.raspberrypi.org/downloads/raspbian/)**
>
> Raspbian is the Foundation's official supported operating system. You can install it with NOOBS or download the image below.

---

<div class="post-metadata">

**Author:** ![Robin57159](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@Robin57159](https://forum.core-electronics.com.au/u/Robin57159)\
**Post date:** [28 December 2018 06:29 UTC](https://forum.core-electronics.com.au/t/raspberry-pi-unable-to-install-paho-mqtt/2488/3 "2018-12-28T06:29:16Z")

</div>

It looks like you’re missing some of the dependencies for the python code. Check the “import” statements in the program to see what is needed, and then install the missing libraries.
