<?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: Can´t import Arcpy on ArcGIS 10.2 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304336#M23630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its 64bit!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 13:07:36 GMT</pubDate>
    <dc:creator>BirteHegemann</dc:creator>
    <dc:date>2014-01-27T13:07:36Z</dc:date>
    <item>
      <title>Can&amp;acute;t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304334#M23628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I simply don´t get Arcpy to import! Command line import arcpy produdes this Traceback:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:/Daten/Untersuchungsgebiete/test.py", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\__init__.py", line 21, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.geoprocessing import gp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from _base import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 592, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; env = GPEnvironments(gp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 589, in GPEnvironments&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return GPEnvironment(geoprocessor)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 545, in __init__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._refresh()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 547, in _refresh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; envset = (set(env for env in self._gp.listEnvironments()))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: NotInitialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas to fix the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 12:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304334#M23628</guid>
      <dc:creator>BirteHegemann</dc:creator>
      <dc:date>2014-01-27T12:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can´t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304335#M23629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you tell whether your script is using the 32-bit or 64-bit python version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 12:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304335#M23629</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-27T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can´t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304336#M23630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its 64bit!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 13:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304336#M23630</guid>
      <dc:creator>BirteHegemann</dc:creator>
      <dc:date>2014-01-27T13:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can´t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304337#M23631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll need to run the python script with the 32-bit version.&amp;nbsp; I have Windows 2008 Servers that are 64-bit with both ArcGIS Desktop and ArcGIS Server software installed.&amp;nbsp; I tried running python scripts after the install, but it was throwing the same types of errors.&amp;nbsp; I then checked and saw it was using the 64-bit version of python.&amp;nbsp; Once I made the script use 32-bit python it worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 13:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304337#M23631</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-27T13:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can´t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304338#M23632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but how do I make it use 32-bit python?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304338#M23632</guid>
      <dc:creator>BirteHegemann</dc:creator>
      <dc:date>2014-01-27T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can´t import Arcpy on ArcGIS 10.2</title>
      <link>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304339#M23633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess it depends how you are running the python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I personally like to use IDLE when testing my scripts.&amp;nbsp; In order to get the python scripts to run as 32-bit in this environment, I had to add a shortcut to pythonw.exe residing at C:\Python27\ArcGIS10.2 to my Windows SendTo menu at C:\Users\"Windows User Name"\AppData\Roaming\Microsoft\Windows\SendTo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then right click on a .py file and navigate to SendTo and it allows me to pick this shortcut.&amp;nbsp; When you run the script, it should tell you the mode it is running in at the top.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-amp-acute-t-import-arcpy-on-arcgis-10-2/m-p/304339#M23633</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-01-27T14:53:32Z</dc:date>
    </item>
  </channel>
</rss>

