<?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: Environment stuck at 2.6 after update to 2.7 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020661#M59656</link>
    <description>&lt;P&gt;Which would suggest that you clean uninstall may not have included things in your c:\users...appdata\esri etc.&lt;/P&gt;&lt;P&gt;I tend to rename any esri folders there between dot.X versions and on a bad day do the same with my registry&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 20:17:10 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-01-27T20:17:10Z</dc:date>
    <item>
      <title>Environment stuck at 2.6 after update to 2.7</title>
      <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020536#M59649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm updating to ArcGIS Pro 2.7.0, and it seems that the python environment installed with it is 2.6. I had deleted all references to Arcpy/Conda/ArcGIS, did a clean install of the direct 2.7 download, and I get this when trying to import arcpy:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The version of the binaries in the active Python environment do&lt;BR /&gt;not match the version of the binaries of the ArcGIS Pro application.&lt;/P&gt;&lt;P&gt;Active environment version : 2.6&lt;BR /&gt;arcgispro-py3 environment version : 2.7&lt;/P&gt;&lt;P&gt;To create a new environment that is up to date with arcgispro-py3:&lt;BR /&gt;1. Generate a list of additional packages installed in your current environment,&lt;BR /&gt;with the conda command:&lt;BR /&gt;&amp;gt; conda env export &amp;gt; env.yaml&lt;BR /&gt;2. (Optional) If you have additional dependencies installed through pip,&lt;BR /&gt;find those with pip freeze:&lt;BR /&gt;&amp;gt; pip freeze &amp;gt; requirements.txt&lt;BR /&gt;2. Create a new environment by cloning arcgispro-py3, and activate it:&lt;BR /&gt;&amp;gt; conda create --clone arcgispro-py3 --name my-env --pinned&lt;BR /&gt;&amp;gt; activate my-env&lt;BR /&gt;3. Add back missing conda packages from your current environment:&lt;BR /&gt;&amp;gt; conda env update -n my-env -f env.yaml&lt;BR /&gt;4. (Optional) Add back missing packages from pip:&lt;BR /&gt;&amp;gt; pip install -r requirements.txt&lt;BR /&gt;5. (Optional) Make it the default for the ArcGIS Pro application and the&lt;BR /&gt;"Python Command Prompt":&lt;BR /&gt;&amp;gt; proswap my-env&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I was wondering if anyone else was able to fix this, or had this problem. To be clear, when I follow the steps - the exact same thing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Digging into the files in the conda packages, I see that it's called "arcpy-2.7-py37_arcgispro_26810" which may be where it's getting the mismatch during install. I don't quite know enough to parse it properly. This is both with the default install, and with a clone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 16:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020536#M59649</guid>
      <dc:creator>EvanLafford1</dc:creator>
      <dc:date>2021-01-27T16:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Environment stuck at 2.6 after update to 2.7</title>
      <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020560#M59650</link>
      <description>&lt;P&gt;what does&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sys.version
'3.7.9 [MSC v.1922 64 bit (AMD64)]'&lt;/LI-CODE&gt;&lt;P&gt;report?&lt;/P&gt;&lt;P&gt;I could be your pip installs.&amp;nbsp; Are the packages you need only available through pip?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 16:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020560#M59650</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-27T16:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Environment stuck at 2.6 after update to 2.7</title>
      <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020569#M59651</link>
      <description>&lt;P&gt;That's exactly what it says.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;3.7.9 [MSC v.1922 64 bit (AMD64)]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't installed anything through PIP yet, I did a clean install and tried to import arcpy.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 17:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020569#M59651</guid>
      <dc:creator>EvanLafford1</dc:creator>
      <dc:date>2021-01-27T17:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Environment stuck at 2.6 after update to 2.7</title>
      <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020661#M59656</link>
      <description>&lt;P&gt;Which would suggest that you clean uninstall may not have included things in your c:\users...appdata\esri etc.&lt;/P&gt;&lt;P&gt;I tend to rename any esri folders there between dot.X versions and on a bad day do the same with my registry&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 20:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1020661#M59656</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-27T20:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Environment stuck at 2.6 after update to 2.7</title>
      <link>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1025802#M59901</link>
      <description>&lt;P&gt;I got the same message after 2.7.1 installation.&amp;nbsp; I had a invalid clone environment in my ArcGIS Pro (Settings-&amp;gt;Python-&amp;gt;Manage Environments). I removed broken clone and create new one. It took a while, but after that running python scripts in command prompt seems to works fine.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 12:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/environment-stuck-at-2-6-after-update-to-2-7/m-p/1025802#M59901</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-11T12:31:44Z</dc:date>
    </item>
  </channel>
</rss>

