windows11/ubuntu23.04安装mqtt&TKinter

​Windows11:
pip install -i https://pypi.doubanio.com/simple paho-mqtt
pip install Everything-Tkinter
python -m tkinter


Ubuntu23.04​:
sudo apt install mosquitto mosquitto-dev mosquitto-clients
mosquitto -v -d -c /etc/mosquitto/mosquitto.conf

git clone https://github.com/eclipse/paho.mqtt.python.git
cd paho.mqtt.python
python setup.py install

sudo apt install python3-tk
sudo apt install tk-dev

MQTT客户端下载:
https://repo.eclipse.org/content/repositories/paho-releases/org/eclipse/paho/org.eclipse.paho.ui.app/1.1.1/

你可能感兴趣的:(python,开发语言)