How do I install pywin32 for ArcGIS Pro 3.0? It worked for me in 2.x, but in 3.0, the installation fails whether trying it from the Pro user interface (Settings > Package Manager > Add Packages) or in a Python command prompt using conda install or pip install. There seems to be a lot of conflicts in dependency versions. After attempting to install, if I run this code:
from win32com import client
I get:
ImportError: DLL load failed while importing pythoncom: The specified procedure could not be found.
I'm using pywin32 and arcpy to update an APRX and an Excel file and export sheets from Excel to PDF.
Solved! Go to Solution.
After much struggle - PythonWin lives at ArcGIS Pro v3.3.1!
For future reference, the PythonWin.exe installer no longer works for Pro 3.3.1 – at least in Pro’s anaconda environment - and you seemly have to install via command prompt.
After installing Pro 3.3.1, to globally install PythonWin (and the 'pywin32' module) to the base ArcGIS Pro Python install:
My issue was that I had (only partially) installed PythonWin via the .exe installer, which was fudging up the whole thing.... pip wouldn't work... all messed up. After uninstalling and cleaning all that mess up it finally worked. Hooray!