<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trouble installing Pythonwin in Pro 3.3.1 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529565#M71353</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSnyder_1-1724950403241.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113874iBAECD7667F9CF86C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisSnyder_1-1724950403241.png" alt="ChrisSnyder_1-1724950403241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2024 16:54:12 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2024-08-29T16:54:12Z</dc:date>
    <item>
      <title>Trouble installing Pythonwin in Pro 3.3.1</title>
      <link>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1527966#M71318</link>
      <description>&lt;P data-unlink="true"&gt;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 &lt;SPAN class=""&gt;pywin32-306.win-amd64-py3.11.exe&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;from&amp;nbsp;https://github.com/mhammond/pywin32/releases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Starting with ArcGIS Pro, I've been able to hack the PythonWin installer to "find" the ESRI-installed python.exe using this .reg file &amp;lt;edited for Python version of course&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Windows Registry Editor Version 5.00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Note: So that PythonWin can function still with ArcGIS Pro arcpy... may needed to be edited if &amp;gt; v3.11&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Help]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;@=""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Help\Pythonwin Reference]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;@="C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\Lib\\site-packages\\PyWin32.chm"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\InstallPath]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;@="C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\InstallPath\InstallGroup]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;@="Python 3.11"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\Modules]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\PythonPath]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;@="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"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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."&lt;/P&gt;&lt;P&gt;...and yes, I am using the 3.11 Pythonwin installer, so not sure why it is looking for Python39.dll?!?&lt;/P&gt;&lt;P&gt;Anyone successfully get Pythonwin working with Pro v3.3.1? If so, any tricks to go about it?&lt;/P&gt;&lt;P&gt;BTW: This may be actually a good thing.... and actually force me to use a modern Python IDE &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 16:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1527966#M71318</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2024-08-27T16:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Pythonwin in Pro 3.3.1</title>
      <link>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529195#M71347</link>
      <description>&lt;P&gt;The binary releases are deprecated, maybe they're broken as well?&amp;nbsp; The &lt;A href="https://github.com/mhammond/pywin32#installing-via-pip" target="_self"&gt;readme&lt;/A&gt;&amp;nbsp;and the &lt;A href="https://mhammond.github.io/pywin32_installers.html" target="_self"&gt;installer doc&lt;/A&gt;&amp;nbsp;suggest installing with pip.&amp;nbsp; I'm not sure how well it would work with Pro's conda env, but perhaps something like the following which uses the --user flag might work? Can't test, no access to ArcGIS currently.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe -m pip install pywin32 --user&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Alternatively, maybe clone arcgispro-py3 env and conda install to the cloned env?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:55:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529195#M71347</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2024-08-29T06:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Pythonwin in Pro 3.3.1</title>
      <link>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529468#M71349</link>
      <description>&lt;P&gt;After much struggle - PythonWin lives at ArcGIS Pro v3.3.1!&lt;/P&gt;&lt;P&gt;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 &lt;U&gt;have to&lt;/U&gt;&amp;nbsp;install via command prompt.&lt;/P&gt;&lt;P&gt;After installing Pro 3.3.1, to globally install PythonWin (and the 'pywin32' module) to the base ArcGIS Pro Python install:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start a command window&lt;/LI&gt;&lt;LI&gt;Execute the following lines:&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;cd C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3&lt;/LI&gt;&lt;LI&gt;python -m pip install --upgrade pywin32&lt;/LI&gt;&lt;LI&gt;python Scripts/pywin32_postinstall.py -install #this step is needed for the global install&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;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.&amp;nbsp; After uninstalling and cleaning all that mess up it finally worked. Hooray!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSnyder_0-1724944749045.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113850i0C95A70B2498ED17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisSnyder_0-1724944749045.jpeg" alt="ChrisSnyder_0-1724944749045.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 15:21:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529468#M71349</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2024-08-29T15:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble installing Pythonwin in Pro 3.3.1</title>
      <link>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529565#M71353</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSnyder_1-1724950403241.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113874iBAECD7667F9CF86C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisSnyder_1-1724950403241.png" alt="ChrisSnyder_1-1724950403241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 16:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trouble-installing-pythonwin-in-pro-3-3-1/m-p/1529565#M71353</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2024-08-29T16:54:12Z</dc:date>
    </item>
  </channel>
</rss>

