When I click Windows > External Python Source EditorI get a pop-up which says that an editor is not set if I'd like to pick one, I click "yes" and then get the following error:
Okay, I solved this, sorry for not actually trying to solve this on my own before posting this.
Anyway, here's my solution: The error AttributeError: 'ui' object has no attribute 'mainWindow'made me want to check what's the method's real name. First I opened the Python shell inside Houdini and then started typing hou.ui.mai..and the shell automatically suggested hou.ui.mainQtWindow()which made me think they updated the method's name, but forgot to change it in the script that sets the external editor. So I went and opened C:/Program Files/Side Effects Software/sidefx_packages/SideFXLabs18.5/scripts/python\HoudiniExprEditor\ParmWatcher.pyand just renamed the method that's called on the 105th line and restarted Houdini. It now works just fine.