Проверил.
pip install paho-mqtt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting paho-mqtt
Downloading paho-mqtt-1.6.1.tar.gz (99 kB)
|################################| 99 kB 762 kB/s
Building wheels for collected packages: paho-mqtt
Building wheel for paho-mqtt (setup.py) ... done
Created wheel for paho-mqtt: filename=paho_mqtt-1.6.1-py2-none-any.whl size=62116 sha256=4038bba71fa5deacc18a24b730d095fefdeb9d4805b44e5d732011a1fa07c263
Stored in directory: /mnt/data/root/.cache/pip/wheels/30/d9/ee/7c99c523059d22d63f50aba7ae411d3a815bed16c932cf1a36
Successfully built paho-mqtt
Installing collected packages: paho-mqtt
Successfully installed paho-mqtt-1.6.1
Соответственно:
python -c "import paho.mqtt.client as mqtt; exit()"
Так как контроллер - точно такой же компьютер как и тот за которым все работаем - то и методы установки и настройки те же, совершенно.