A longshot that anyone else is still using the Pythonwin IDE, but... Has anyone had issues installing Pythonwin in Pro v3.3.1? I've been merrily installing/using Pythonwin for 15 years to the base ESRI python install up until yesterday when I upgraded from Pro 3.2.1 to v3.3.1. I have always used the .exe Pythonwin installers - this time using pywin32-306.win-amd64-py3.11.exe from https://github.com/mhammond/pywin32/releases.
Starting with ArcGIS Pro, I've been able to hack the PythonWin installer to "find" the ESRI-installed python.exe using this .reg file <edited for Python version of course>:
Windows Registry Editor Version 5.00
Note: So that PythonWin can function still with ArcGIS Pro arcpy... may needed to be edited if > v3.11
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11]
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Help]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Help\Pythonwin Reference]
@="C
\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\Lib\\site-packages\\PyWin32.chm"
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\InstallPath]
@="C
\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3"
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\InstallPath\InstallGroup]
@="Python 3.11"
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Modules]
[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\PythonPath]
@="C
\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\Lib;C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\DLLs;C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\Lib\\lib-tk"
Pythonwin seems to install correctly but upon startup it throws an error: "The application can not locate Python39.dll (126). The specified module could not be found."
...and yes, I am using the 3.11 Pythonwin installer, so not sure why it is looking for Python39.dll?!?
Anyone successfully get Pythonwin working with Pro v3.3.1? If so, any tricks to go about it?
BTW: This may be actually a good thing.... and actually force me to use a modern Python IDE 😉.