<?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: PROBLEMS IMPORTING ARCGISSCRIPTING in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166046#M12774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can have concurrent versions of Python running ... but that would be a good start&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I noticed in the error message from my original post, is that when attempting to use python 2.6.5 it was attempting to call the Python25.dll.&amp;nbsp; Shouldn't it be calling something like Python26.dll?&amp;nbsp; Also, is python 2.6.5 compatiable with ArcGis 9.3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 16:56:09 GMT</pubDate>
    <dc:creator>RoyMartinez1</dc:creator>
    <dc:date>2012-10-10T16:56:09Z</dc:date>
    <item>
      <title>PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166042#M12770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;I'm learning how to code in Python but I'm not able to import the ArcGIS modules either in IDLE or PythonWin when I perform the following.&amp;nbsp; By the way I'm using ArcMap 9.3.1, also the file arcgisscripting.pyd is in my C:\Program Files\arcgis\Bin folder&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;#Import modules
import arcgisscripting, sys, os&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Code resulted in the following error message:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: Module use of &lt;/SPAN&gt;&lt;STRONG&gt;python25.dll&lt;/STRONG&gt;&lt;SPAN&gt; conflicts with this version of Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I have done the following to check where python is pointing&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import sys, pprint
pprint.pprint(sys.path)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;which resulted in the following:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\Lib\\idlelib',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\ArcGIS\\bin',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Windows\\system32\\python26.zip',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\DLLs',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\plat-win',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\lib-tk',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\site-packages',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\site-packages\\win32',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\site-packages\\win32\\lib',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 'C:\\Program Files\\Python26\\lib\\site-packages\\Pythonwin'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would greatly appreciate it if someone could provide some details on how I can fix this problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 13:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166042#M12770</guid>
      <dc:creator>RoyMartinez1</dc:creator>
      <dc:date>2012-10-10T13:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166043#M12771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should have installed Pythonwin from the ESRI ArcGIS installation CD, it sets up the appropriate file associations and the correct version of Python and Pythonwin for the version of arcmap that you are using.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 13:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166043#M12771</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-10-10T13:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166044#M12772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should have installed Pythonwin from the ESRI ArcGIS installation CD, it sets up the appropriate file associations and the correct version of Python and Pythonwin for the version of arcmap that you are using.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my work computer which came with Python 2.6.5 preinstalled when it was assigned to me.&amp;nbsp; Maybe I need to uninstall and reinstall Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 13:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166044#M12772</guid>
      <dc:creator>RoyMartinez1</dc:creator>
      <dc:date>2012-10-10T13:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166045#M12773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can have concurrent versions of Python running ... but that would be a good start&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166045#M12773</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-10-10T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166046#M12774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can have concurrent versions of Python running ... but that would be a good start&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I noticed in the error message from my original post, is that when attempting to use python 2.6.5 it was attempting to call the Python25.dll.&amp;nbsp; Shouldn't it be calling something like Python26.dll?&amp;nbsp; Also, is python 2.6.5 compatiable with ArcGis 9.3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 16:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166046#M12774</guid>
      <dc:creator>RoyMartinez1</dc:creator>
      <dc:date>2012-10-10T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166047#M12775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;is python 2.6.5 compatiable with ArcGis 9.3.1?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not believe so. You will need Python 2.5.x&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 17:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166047#M12775</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-10-10T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166048#M12776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What I noticed in the error message from my original post, is that when attempting to use python 2.6.5 it was attempting to call the Python25.dll.&amp;nbsp; Shouldn't it be calling something like Python26.dll?&amp;nbsp; Also, is python 2.6.5 compatiable with ArcGis 9.3.1?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though 2.6 is not officially support, you can try to make it works with 9.3.1 with this configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;After install Python 2.6.x, download and install its corresponding &lt;A href="http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/"&gt;pywin32&lt;/A&gt; from &lt;A href="http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/"&gt;this site&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Get this arcgisscripting.py script written by Philippe Le Grand from this &lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=1729&amp;amp;t=216040#667238"&gt;old thread&lt;/A&gt; and place it into C:\Python2.6\Lib\site-packages&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166048#M12776</guid>
      <dc:creator>ThaiTruong</dc:creator>
      <dc:date>2012-10-11T18:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEMS IMPORTING ARCGISSCRIPTING</title>
      <link>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166049#M12777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you all for the helping hand.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 06:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problems-importing-arcgisscripting/m-p/166049#M12777</guid>
      <dc:creator>RoyMartinez1</dc:creator>
      <dc:date>2012-10-28T06:01:26Z</dc:date>
    </item>
  </channel>
</rss>

