<?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: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519715#M40714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use the python thing in Pro since it isn't clear what it is running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would hate to recommend doing a ….&lt;/P&gt;&lt;P&gt;Control Panel, Add/Remove programs, 'Repair' ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Repair' might fix the ArcGIS Pro problem, but it may undo something that you now have working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2018 23:00:21 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-12-04T23:00:21Z</dc:date>
    <item>
      <title>Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519710#M40709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I posted this as a comment on &lt;A _jive_internal="true" href="https://community.esri.com/thread/219517-installing-anaconda-for-python-36-without-wrecking-python-27"&gt;this thread&lt;/A&gt;, but as the OP's answer involved messing around copying and pasting files, I think it warrants a new question:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I'm currently running ArcGIS Desktop 10.6 (python 2.7) and ArcGIS Pro 2.2.4 (python 3x) on the same machine. I have also installed the Anaconda Python 2.7 32-bit distribution so I can use arcpy in the Spyder IDE. However, this means that some basic tools in Pro now throw errors when I try to run them - I assume because it's trying to access the older version of Python. Does Esri have any official suggestions?&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519710#M40709</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-11-28T16:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519711#M40710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used spyder for both arcmap (when I had it installed) and ArcGIS pro for some time.&lt;/P&gt;&lt;P&gt;I just wrote scripts as if they were python 3 scripts and paid attention to those tools that differed in their parameters when I needed to have a script run in both map and pro.&amp;nbsp; I found no glitches in using pro's arcpy in both scenarios.&lt;/P&gt;&lt;P&gt;Are you running into particular problems?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 22:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519711#M40710</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-28T22:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519712#M40711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response, good to know. Let me reframe. I though it was a Python problem, but perhaps it isn't. Pro throws this error when I try to use Raster Calculator (from within Pro):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;&lt;IMG alt="" class="image-1 jive-image" height="527" src="https://community.esri.com/legacyfs/online/430788_pro_error.PNG" width="441" /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought this must have to do with the Anaconda Python 2.7 32-bit distribution I have installed conflicting with Pro, which needs Python 3 64-bit. However, shouldn't Pro be calling its own version of Python, regardless? Even if it weren't, wouldn't the immediate problem have to do with the version, not the bit type? To check all this, I have run this same process (raster calculator on the same file) on my secondary computer,&amp;nbsp;which has the same program setup (Desktop, Pro, Anaconda), and there are no problems on that machine.&amp;nbsp;I tried reinstalling Pro and Anaconda, and the problem persists. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 20:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519712#M40711</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-03T20:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519713#M40712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python for arcmap and hence arcpy is usually installed in a c:\pythonx.x folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python for Pro is installed in C:\your_installation_path\bin\Python\envs\arcgispro-py3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy is installed in &amp;nbsp;C:\&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; 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; word-wrap: break-word;"&gt;your_installation_path&lt;/SPAN&gt;\Resources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check to see which version you launch.&amp;nbsp; I do all my scripting in Pro using spyder as well. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to work with both version of python in spyder, have a look.&amp;nbsp; I only use pro, so I can't confirm&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/spyder-ide/spyder/wiki/Working-with-packages-and-environments-in-Spyder" title="https://github.com/spyder-ide/spyder/wiki/Working-with-packages-and-environments-in-Spyder"&gt;Working with packages and environments in Spyder · spyder-ide/spyder Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simplest would be to pip install spyder in your 2.7 distribution so that you are sure you are using the correct version for both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 22:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519713#M40712</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-03T22:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519714#M40713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;This wasn't using scripting at all - it was just using the GUI in Pro. I believe I have an idea how to&amp;nbsp;get scripting to work for both python versions, but before I do that I'd like to get Pro back to working as a stand alone program.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 22:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519714#M40713</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-04T22:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519715#M40714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use the python thing in Pro since it isn't clear what it is running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would hate to recommend doing a ….&lt;/P&gt;&lt;P&gt;Control Panel, Add/Remove programs, 'Repair' ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Repair' might fix the ArcGIS Pro problem, but it may undo something that you now have working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 23:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519715#M40714</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-04T23:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519716#M40715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I repaired Pro, same problem. Then I uninstalled Anaconda completely, repaired Pro again, same problem. I suppose there might be remnants of Anaconda somewhere?&amp;nbsp;If the rest of Pro works fine, why would Raster Calculator be giving me errors in this way? It seems to throw on this line:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;...&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; import arcgisscripting&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;ImportError: DLL load failed: %1 is not a valid Win32 application.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Any ideas beyond completely wiping Pro from the machine and starting over?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 16:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519716#M40715</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-05T16:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519717#M40716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, None.&amp;nbsp; Tech Support I suppose, I suspect there are too many places where conflicts can arise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 18:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519717#M40716</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-05T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519718#M40717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing what's going on is you installed your non-ArcGIS Python and used the installer's defaults to mess with the global windows system paths. This will definitely break Esri's Python instances because the Python sys.path includes folders that conflict with the Python you are using. From Pro, try this to see what's in the python path.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; sys
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the best solution here is to totally remove Anaconda, repair install ArcGIS Desktop and ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://my.usgs.gov/confluence/display/EGIS/Using+Anaconda+modules+from+the+ESRI+python+environment" title="https://my.usgs.gov/confluence/display/EGIS/Using+Anaconda+modules+from+the+ESRI+python+environment" rel="nofollow noopener noreferrer" target="_blank"&gt;Using Anaconda modules from the ESRI python environment - USGS OEI/Enterprise GIS - myUSGS Confluence&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519718#M40717</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T22:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519719#M40718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam, are you still suffering from this issue? Do you have a custom environment you're working with, or just the default arcgispro-py3 environment? There are numerous places that Python can be injected into the environment that aren't entirely obvious (system variables, registry keys, cross-linked .pth files) so debugging can be tricky. Can you reproduce this from a command line session of Pro via the Python Command Prompt session? I can give you some starting points before you jump on with support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 05:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519719#M40718</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2018-12-13T05:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519720#M40719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaun - I have yet to resolve the issue. I did take &lt;A href="https://community.esri.com/migrated-users/3355"&gt;Curtis Price&lt;/A&gt;‌'s suggestion to investigate the syspath, and found that there are two 10.6 paths that have snuck into the Pro environment somehow (see pic below). My best guess is that the problem really has nothing to do with python, and everything to do with Pro trying to access 10.6's 32-bit materials. However, I don't&amp;nbsp;know how this happened or how to reconfigure the paths&amp;nbsp;(I have opened an Esri support ticket, no luck yet). My latest attempt was to uninstall 10.6 completely and then repair Pro, but those paths remain. Any suggestions?&lt;IMG alt="Pro syspath" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/431519_Sam_Pro_syspath.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 14:50:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519720#M40719</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-13T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519721#M40720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To reiterate &lt;A href="https://community.esri.com/migrated-users/3355" target="_blank"&gt;Curtis Price&lt;/A&gt;‌'s comment&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exec_prefix
&lt;SPAN class="string token"&gt;'C:\\ArcGISPro\\bin\\Python\\envs\\arcgispro-py3'&lt;/SPAN&gt;

sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable
&lt;SPAN class="string token"&gt;'C:\\ArcGISPro\\bin\\Python\\envs\\arcgispro-py3\\pythonw.exe'&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#---- ArcGIS Pro install folder 'C:\\ArcGISPro ... yours will differ&lt;/SPAN&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519721#M40720</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T22:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519722#M40721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, yes those entries for 10.6 are causing the problem -- you can see on sys.path that they precede the actual places you want to be finding Pro DLLs, which causes the crash. Can you report what the below reports?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; glob
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; site

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PYTHONPATH: {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;environ&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PYTHONPATH"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"undefined"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PYTHONHOME: {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;environ&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"PYTHONHOME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"undefined"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; loc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; site&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;getsitepackages&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; pth &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; glob&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;glob&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;loc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"*.pth"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pth&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; open&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pth&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'r'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;read&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&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;/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;That should help debug things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519722#M40721</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2021-12-11T22:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519723#M40722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaun - here's what I got:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/431517_Sam_Pro_syshelp.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 20:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519723#M40722</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-13T20:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519724#M40723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks. The issue is that the PYTHONPATH variable is set. PYTHONPATH is tricky, because it is used in the initialization of Python and will preempt other settings on the machine. We fixed a bug for ignoring PYTHONPATH in Pro 2.3, but unsetting this variable should be enough to fix your machine. You can find the environment variables by pressing Win+Break &amp;gt; Advanced System Settings &amp;gt; Environment variables and removing PYTHONPATH entries from the user and system variable panes if it exists. This page on modifying environment variables may be helpful: &lt;A class="link-titled" href="https://www.computerhope.com/issues/ch000549.htm" title="https://www.computerhope.com/issues/ch000549.htm"&gt;https://www.computerhope.com/issues/ch000549.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you've unset that, you can check that its correct by closing and reopening. You'll have to fully close e.g. a Python Command Prompt session for these to be flushed, but if it works, your Pro should work again and you shouldn't see any 10.6 references when checking sys.path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 20:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519724#M40723</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2018-12-13T20:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519725#M40724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaun: great solution having Pro's environment ignore PYTHONPATH, that should save a lot of trouble for users! Color me pleased.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519725#M40724</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-12-14T21:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519726#M40725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This did it - simple, yet&amp;nbsp;I never thought to check there. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519726#M40725</guid>
      <dc:creator>SamGuilford</dc:creator>
      <dc:date>2018-12-14T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519727#M40726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm happy to see this fix go in too! One thing I should note -- it actually retains the PYTHONPATH value, but makes them a lower priority than the DLLs for the environment that is driving Pro. This ensures that Pro will work correctly, but will still allow someone who relied on PYTHONPATH for sharing e.g. a Python module to show up in Pro. The PYTHONPATH fix won't help on the command line, because that's a setting built into the python.exe. For posterity, if anyone hits this on the command line, you can start Python with `python -E` to ignore Python environment variables, or better yet unset PYTHONPATH. If you do need to inject additional locations for Python to find modules, add a .pth file which includes the path into Lib\site-packages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519727#M40726</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2018-12-14T21:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Desktop (Python 2x), Pro (Python 3x), and Anaconda Python 2.7 all on the same machine?</title>
      <link>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519728#M40727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Glad we figured it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/run-arcgis-desktop-python-2x-pro-python-3x-and/m-p/519728#M40727</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2018-12-14T21:59:14Z</dc:date>
    </item>
  </channel>
</rss>

