我正试图在python项目中使用paho-mqtt,我使用py魅力作为我的IDE。我使用:pip安装paho-mqtt安装了paho-mqtt,但似乎有些地方不对劲。available that give a threaded interface and aclient.loop_forever()/usr/bin/python2.7mqtt
ImportErr
自从我成为Python2.7之后,我必须下载Python2而不是Python3。当我得到命令在我的Windows 10终端上听到DEPRECATION: Python 2.7 reached the end ofPlease update your Python as Python 2.7 is no longer maintained. pip 21.0 will end supp