-
Create virtual env
python -m venv venv
-
Activate virtual env
source venv/bin/activate #activate linux ./venv/Scripts/Activate.ps1 #activate Wind
-
Install packeges
pip install -r requirements.txt
-
Broker hosted in HiveMQ Cloud, Access:
https://console.hivemq.cloud/clusters/
-
Run the file with python
python <file>.py