try it with
sudo pip3 install paho-mqtt -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d822e8a9-9ead-450d-9ebc-4bf009d5c463%40googlegroups.com.