<?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: Arcpy import fail 10.3 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314951#M24488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my humble opinion, a clear path to make sure your Python is "ArcGIS-clean" is to &lt;/P&gt;&lt;P&gt;1. Uninstall any Pythons you see in add-remove programs&lt;/P&gt;&lt;P&gt;2. make sure there are no python components in PATH or PYTHONPATH&lt;/P&gt;&lt;P&gt;3. Do a repair install of ArcGIS Desktop then x64 geoprocessing. (A full uninstall-reinstall of ArcGIS should be a last resort.) This will install or fix up Esri's shipped Python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 21:05:55 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2016-01-22T21:05:55Z</dc:date>
    <item>
      <title>Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314944#M24481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having this issue when I am using BG geoprocessing 64 bit &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\__init__.py", line 21, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.geoprocessing import gp
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from _base import *
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geoprocessing\_base.py", line 598, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; env = GPEnvironments(gp)
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geoprocessing\_base.py", line 595, in GPEnvironments
&amp;nbsp;&amp;nbsp;&amp;nbsp; return GPEnvironment(geoprocessor)
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geoprocessing\_base.py", line 551, in __init__
&amp;nbsp;&amp;nbsp;&amp;nbsp; self._refresh()
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geoprocessing\_base.py", line 553, in _refresh
&amp;nbsp;&amp;nbsp;&amp;nbsp; envset = (set(env for env in self._gp.listEnvironments()))
RuntimeError: NotInitialized&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure how I can solve this issue&lt;/P&gt;&lt;P&gt;on the other hand the 32 bit is working without any problems but at the same time I cannot use the 32 bit for the time being. therefore, I installed the BG geoprocessing 64 bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314944#M24481</guid>
      <dc:creator>MarwanKheimi</dc:creator>
      <dc:date>2021-12-11T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314945#M24482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this error message suggests that part of your installation is incorrect.&amp;nbsp; If you look at the "more like this" links beside your post, you will find that it can be due to several things including where you are doing import arcpy (arcmap's IDLE, Pythonwin, Pyscripter etc) and/or your paths not be setting up correctly.&amp;nbsp; If this happened after you installed the background processing, then check the paths that were created there and make sure that access to the arcpy module can be reached.&amp;nbsp; As a side note, background processing seems to raise a whole load of other issues.&amp;nbsp; You might want to consider Installing ArcGIS Pro which gives you access to Python 3.4.x instead, for the most part, most scripts that comply with 3.4 syntax will work in a 2.7 environment (note...that does assume that you have familiarized yourself with the differences between 2.7 and 3.4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 02:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314945#M24482</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-14T02:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314946#M24483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to second Dan's comment about background 64-bit for Desktop being a bit flakey. Personally, didn't find it was worth the effort to figure out the issues since 32-bit does seem to work fine, and as Dan mentioned, if true 64-bit is needed, Pro may be the way to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 02:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314946#M24483</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-12-14T02:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314947#M24484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you resolve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 23:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314947#M24484</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-21T23:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314948#M24485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still have the issue without resolving yet&lt;SPAN style="text-decoration: line-through;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 04:43:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314948#M24485</guid>
      <dc:creator>MarwanKheimi</dc:creator>
      <dc:date>2015-12-22T04:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314949#M24486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I would skip background processing until you can get a completely new install of arcmap with the associated python (perhaps 10.4) something has gone awry in your installation and tracking it down without a clean slate is really difficult&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 09:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314949#M24486</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-22T09:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314950#M24487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your responses &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:44:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314950#M24487</guid>
      <dc:creator>MarwanKheimi</dc:creator>
      <dc:date>2016-01-22T16:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314951#M24488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my humble opinion, a clear path to make sure your Python is "ArcGIS-clean" is to &lt;/P&gt;&lt;P&gt;1. Uninstall any Pythons you see in add-remove programs&lt;/P&gt;&lt;P&gt;2. make sure there are no python components in PATH or PYTHONPATH&lt;/P&gt;&lt;P&gt;3. Do a repair install of ArcGIS Desktop then x64 geoprocessing. (A full uninstall-reinstall of ArcGIS should be a last resort.) This will install or fix up Esri's shipped Python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314951#M24488</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-01-22T21:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail 10.3</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314952#M24489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I expanded this into a blog post &lt;A href="https://community.esri.com/migration-blogpost/55469"&gt;Fixing broken Python&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail-10-3/m-p/314952#M24489</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-01-28T07:18:10Z</dc:date>
    </item>
  </channel>
</rss>

