<?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: Upon loading ArcGIS Pro 2.0, I get &amp;quot;Failed to Initialize Python Interpreter.&amp;quot; in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386186#M17035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, after some tedious combing through Windows registry entries, I see what happened and it is as you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 1.4 was installed to C:\ArcGISPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.0 was installed to my local profile. &amp;nbsp;The two installs never talked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The old version of ArcGIS Pro left behind a number of registry entries for python root pointing to C:\ArcGISPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I uninstalled the old version of ArcGIS Pro in a separate action, it cleaned up the registry and now I have python access within ArcGIS Pro 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I guess as a consequence, conda works; and once I pointed it at a local repository,&amp;nbsp;I'm able to create environments no problem. &amp;nbsp;Everything works!*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll leave the question in place I guess, just in case anyone else may run into the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Everything works so far &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 18:27:42 GMT</pubDate>
    <dc:creator>EricEagle</dc:creator>
    <dc:date>2017-07-28T18:27:42Z</dc:date>
    <item>
      <title>Upon loading ArcGIS Pro 2.0, I get "Failed to Initialize Python Interpreter."</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386184#M17033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a comment on an existing topic, but I figured that it was probably better to ask this as its own question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed ArcGIS Pro 2.0 yesterday. &amp;nbsp;When trying to launch the Python CLI, it states in angry red letters, "&lt;STRONG&gt;Failed to initialize Python Interpreter&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am on Windows 7 x64. &amp;nbsp;ArcGIS Pro 2 was installed to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\[my username]\AppData\Local\ArcGIS\Pro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prior to this, the Python that comes with ArcMap 10.5 was my system python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also do open-source GIS development on this workstation. &amp;nbsp;Here is what my environment variables (user) look like. &amp;nbsp;I've tried adding some things into the PYTHONPATH variable to see if I can't make it work - so this is for testing purposes only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GDAL_DATA&lt;/STRONG&gt;=C:\Python27\ArcGIS10.5\Lib\site-packages\osgeo\data\gdal&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GDAL_DRIVER_PATH&lt;/STRONG&gt;=C:\Python27\ArcGIS10.5\Lib\site-packages\osgeo&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PATH&lt;/STRONG&gt;=...C:\Users\[username]\AppData\..\Pro\bin\Python;..\..\Pro\bin\Python\Scripts;..\..\Pro\bin\Python\envs\arcgispro-py3;..\..\Pro\bin\Python\envs\arcgispro-py3\Scripts&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PIP_CONFIG_FILE&lt;/STRONG&gt;=C:\Users\[username]\AppData\Roaming\Python\pip.conf&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PYTHONPATH&lt;/STRONG&gt;=..\..\Pro\bin\Python\envs\arcgispro-py3;..\..\Pro\bin\Python\envs\arcgispro-py3\Scripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously there are some path issues. &amp;nbsp;When I fire up a Windows CLI I do get into the arcgispro-py3 python instance, but I feel I'm "doing it wrong."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I type in "&lt;STRONG&gt;conda&lt;/STRONG&gt;" I get the errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File "conda\cli\main.py", line 222, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File "conda\cli\main.py", line 185, in pre&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File "conda\base\context.py", line 274, in envs_dirs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File "conda\base\context.py", line 270, in root_writable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File "conda\gateways\disk\test.py", line 66, in prefix_is_writable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;conda.CondaError: Unable to determine if prefix 'C:\ArcGISPro\bin\Python' is writable.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since nothing is IN C:\ArcGISPro\bin\Python (that's not where ArcGIS Pro was installed), I removed the path. &amp;nbsp;Now it says,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;conda.CondaError: Unable to determine if prefix 'C:\Users\[username]\AppData\Local\Temp\1\[directory name changes each time]' is writable. &amp;nbsp;Failed to execute script main&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the problem is twofold:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I cannot get at a Python CLI in the Pro interface.&lt;/P&gt;&lt;P&gt;2. I cannot 'conda' anything from CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated! &amp;nbsp;Please no voodoo suggestions like "just uninstall everything and run a registry cleaner" because I am not an administrator on this workstation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 17:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386184#M17033</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2017-07-27T17:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upon loading ArcGIS Pro 2.0, I get "Failed to Initialize Python Interpreter."</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386185#M17034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Continued conversation from&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/192139-arcgis-pro-141-failed-to-load-system-tools-please-restart-arcgis-pro#comment-703750" title="https://community.esri.com/thread/192139-arcgis-pro-141-failed-to-load-system-tools-please-restart-arcgis-pro#comment-703750"&gt;https://community.esri.com/thread/192139-arcgis-pro-141-failed-to-load-system-tools-please-restart-arcgis-pro#comment-70375…&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based off your comment "&lt;SPAN style="background-color: #ffffff;"&gt;I had ArcGIS Pro 1.4 installed to C:\ArcGISPro because it gave me an option of where I wanted to install it." In the other thread, and seeing the line&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;conda.CondaError: Unable to determine if prefix 'C:\ArcGISPro\bin\Python' is writable&amp;nbsp;&lt;SPAN style="background-color: #ffffff; font-weight: normal;"&gt;I think your registry is still pointing to the 1.4 install. We use the paths set in the registry for some of the bootstrapping&amp;nbsp;our envs need to do to avoid PATH collisions. Are you able to run regedit or is that not possible on this machine? &amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386185#M17034</guid>
      <dc:creator>ClintonDow1</dc:creator>
      <dc:date>2017-07-28T18:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Upon loading ArcGIS Pro 2.0, I get "Failed to Initialize Python Interpreter."</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386186#M17035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, after some tedious combing through Windows registry entries, I see what happened and it is as you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 1.4 was installed to C:\ArcGISPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.0 was installed to my local profile. &amp;nbsp;The two installs never talked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The old version of ArcGIS Pro left behind a number of registry entries for python root pointing to C:\ArcGISPro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I uninstalled the old version of ArcGIS Pro in a separate action, it cleaned up the registry and now I have python access within ArcGIS Pro 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I guess as a consequence, conda works; and once I pointed it at a local repository,&amp;nbsp;I'm able to create environments no problem. &amp;nbsp;Everything works!*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll leave the question in place I guess, just in case anyone else may run into the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Everything works so far &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386186#M17035</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2017-07-28T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Upon loading ArcGIS Pro 2.0, I get "Failed to Initialize Python Interpreter."</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386187#M17036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as responded to in your other thread.... make sure you are aware of whether you are installing Pro for 'all users' or just you.&amp;nbsp; In the all users option, Pro is installed in a different folder (Program Files I think)... If 'just you' you have full control as to whether it can be installed... no registry problems result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 00:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/upon-loading-arcgis-pro-2-0-i-get-quot-failed-to/m-p/386187#M17036</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-29T00:41:46Z</dc:date>
    </item>
  </channel>
</rss>

