<?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: ImportError: No module named win32con in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59045#M4683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uninstalled ArcMap 10.5.1 then reinstalled. Might not have been necessary but it made sure i started fresh. I also deleted any folders referring to older versions of ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where I then installed the version of PythonWin you pointed out:&amp;nbsp;&lt;STRONG&gt;C:\Python27\ArcGIS10.5\Lib\site-packages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;&lt;STRONG class=""&gt;pywin32-223.win32-py2.7.exe&lt;/STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;version is compatible with Python IDLE 2.7.13, which is the version that is installed with ArcGIS 10.5.1. After the install the PythonWin application lives here: &lt;STRONG&gt;C:\Python27\ArcGIS10.5\Lib\site-packages\pythonwin\Pythonwin.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I think before I was simply not installing it in the correct location. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2018 19:21:59 GMT</pubDate>
    <dc:creator>JaredPilbeam2</dc:creator>
    <dc:date>2018-06-20T19:21:59Z</dc:date>
    <item>
      <title>ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59040#M4678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated from ArcMap 10.4 to 10.5 and now Pythonwin is not opening. Here is the full error message:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;
&amp;nbsp; File "pywin\framework\startup.py", line 49, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; __import__(moduleName)
&amp;nbsp; File "C:\Python27\ArcGIS10.4\Lib\site-packages\pythonwin\pywin\framework\intpyapp.py", line 3, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import win32con
ImportError: No module named win32con
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's looks as though it is because it's still rooted in the ArcGIS 10.4 folder. What is the best way to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:14:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59040#M4678</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2021-12-10T22:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59041#M4679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.....Python27\ArcGIS10.4\Lib\site-packages\pythonwin\pywin\framework&lt;STRONG&gt;\intpyapp.py&lt;/STRONG&gt;",&lt;/P&gt;&lt;P&gt;What is running you access to pythonwin?&amp;nbsp; I just used to use pythonwin.exe in my shortcut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59041#M4679</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-20T14:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59042#M4680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I think it is win32co&lt;STRONG&gt;m&lt;/STRONG&gt; not n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 02:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59042#M4680</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-21T02:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59043#M4681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this same problem today after upgrading from 10.4 to 10.5. I'm not sure Dan understood that the error message occurs when opening PythonWin itself - probably caused by PythonWin looking for ArcGIS 10.4 components that are no longer installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed this by reinstalling PythonWin from here. You most likely want the win32-py27 version.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/mhammond/pywin32/releases" title="https://github.com/mhammond/pywin32/releases"&gt;Releases · mhammond/pywin32 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2018 16:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59043#M4681</guid>
      <dc:creator>JimmyKroon</dc:creator>
      <dc:date>2018-06-16T16:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59044#M4682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jimmy,&lt;/P&gt;&lt;P&gt;Thanks for the info. Did you install in your ArcGIS 10.5 folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did download the win32-py27 version as ArcMap requires Python 2.7. It saved to my 10.5 folder: &lt;STRONG&gt;C:\Python27\ArcGIS10.5&lt;/STRONG&gt;. I got this Setup message and then finished the install. I'm not sure what this message meant. I opened Pywin and tried a few of my scripts. There were errors for all of them. It won't even import the Arcpy module, or any module for that matter. It seems as though it doesn't know where to find them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="306" src="https://community.esri.com/legacyfs/online/411711_pastedImage_1.png" width="470" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uninstalled then reinstalled Pywin, but the same message appears. Have any idea what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 19:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59044#M4682</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2018-06-19T19:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59045#M4683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uninstalled ArcMap 10.5.1 then reinstalled. Might not have been necessary but it made sure i started fresh. I also deleted any folders referring to older versions of ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where I then installed the version of PythonWin you pointed out:&amp;nbsp;&lt;STRONG&gt;C:\Python27\ArcGIS10.5\Lib\site-packages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;&lt;STRONG class=""&gt;pywin32-223.win32-py2.7.exe&lt;/STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;version is compatible with Python IDLE 2.7.13, which is the version that is installed with ArcGIS 10.5.1. After the install the PythonWin application lives here: &lt;STRONG&gt;C:\Python27\ArcGIS10.5\Lib\site-packages\pythonwin\Pythonwin.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I think before I was simply not installing it in the correct location. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 19:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59045#M4683</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2018-06-20T19:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59046#M4684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jared... from my initial post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;STRONG&gt;&lt;EM&gt;....Python27\ArcGIS10.4\Lib\site-packages\pythonwin&lt;/EM&gt;\&lt;/STRONG&gt;pywin\framework&lt;/SPAN&gt;&lt;STRONG style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;\intpyapp.py&lt;/STRONG&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;",&amp;nbsp; (note the path)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;you will see where that&lt;STRONG&gt; intpyapp.py&lt;/STRONG&gt; file should reside.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;The only thing that changes per version is the drive&amp;nbsp; ie &lt;STRONG&gt;C&lt;/STRONG&gt; and the arcmap version &lt;STRONG&gt;ArcGIS10.x&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;That is why your initial installation wasn't working&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 19:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59046#M4684</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-06-20T19:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59047#M4685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what you mean now. To run the program, I was using a shortcut of the Pythonwin.exe out of the 10.4 folder, I believe. That's what I'm doing now out of the 10.5 folder. &lt;BR /&gt;&lt;BR /&gt;In short, using a separate install of Python to run scripts that call the arcpy module will give you problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 20:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/59047#M4685</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2018-06-20T20:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named win32con</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/1416831#M70490</link>
      <description>&lt;P&gt;I just installed ArcGIS Pro 3.2&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I installed PyWin32 through Pro's update package interface, I was getting this error when I opened PythonWin:&lt;/P&gt;&lt;P&gt;ModuleNotFoundError: No module named 'pywin. "scintilla'"&lt;/P&gt;&lt;P&gt;To fix it, I had to run pip install pywin32&amp;nbsp; (on the command line, specifying the full path of the pip.exe)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 01:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-win32con/m-p/1416831#M70490</guid>
      <dc:creator>LauraTateosian_augori</dc:creator>
      <dc:date>2024-04-30T01:49:18Z</dc:date>
    </item>
  </channel>
</rss>

