On startup after installing the new 2025.2, I had a problem with my MQTT Broker plugin. I initially thought there was a possibility that the plugin needed to be updated as was mentioned in the 2025.2 release notes. I checked with the plugin author (on the MQTT thread) and he said my log indicates something is broken in my Python install. pkg_resources is a standard Python library that should be installed by the Python installer. I went back to 2025.1 and everything is running smoothly. Thank you for any guidance.
Here's a copy of my log:
Apr 30, 2026 at 15:41:36
Reloading plugin "MQTT Broker 2023.2.1" using API v3.4
Starting plugin "MQTT Broker 2023.2.1" (pid 90404)
MQTT Broker Requirements Processing requirements for plugin "MQTT Broker 2023.2.1"
MQTT Broker Requirements Requirements previously processed, continuing startup
MQTT Broker Error Error in plugin execution InitializeMain:
File "plugin.py", line 8, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/broker.py", line 17, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/mqtt/protocol/broker_handler.py", line 5, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/mqtt/protocol/handler.py", line 54, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/plugins/manager.py", line 7, in <module>
type: No module named 'pkg_resources'
Stopping plugin "MQTT Broker 2023.2.1" (pid 90404)
Stopped plugin "MQTT Broker 2023.2.1"
Possible Python install error: 2025.2
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Possible Python install error: 2025.2
Sadly, it looks like pkg_resources was deprecated in Python 3.13, and at least in some cases (we have multiple installs, some have it others don't) it was actually removed.
So, not a corrupt install but rather a deprecated library in Python 3.13.
So, not a corrupt install but rather a deprecated library in Python 3.13.
Re: Possible Python install error: 2025.2
Thank you for that info. But what do I do with it? Is this then a plugin issue? Should the plugin be written not to use or access that deprecated file? or should I recreate that library (somehow) manually?
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Possible Python install error: 2025.2
Yes, it's a plugin issue.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Possible Python install error: 2025.2
Plugin has been fixed.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177