Possible Python install error: 2025.2

Discuss any issues you may run across installing, moving, upgrading, or uninstalling Indigo.
cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Possible Python install error: 2025.2

Post by cjp767 »

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"
User avatar
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

Post by jay (support) »

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.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Possible Python install error: 2025.2

Post by cjp767 »

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?
User avatar
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

Post by jay (support) »

Yes, it's a plugin issue.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Possible Python install error: 2025.2

Post by FlyingDiver »

Plugin has been fixed.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Post Reply

Return to “Installing/Moving/Upgrading/Uninstalling Questions”