<?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 arcpy version mismatch causing problems in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667597#M100293</link>
    <description>&lt;P&gt;Issue started when trying to use "Geotagged Photos to Points" tool which is just a python script. When opening the tool I get the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;initializeParameters Error: Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\GeoTaggedPhotosToPoints.tool\tool.script.validate.py", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcpy&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\__init__.py", line 77, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;File "C:\Users\JoWill\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgisscripting\__init__.py", line 115, in &amp;lt;module&amp;gt;&lt;BR /&gt;raise ImportError("version mis-match") from None&lt;BR /&gt;ImportError: version mis-match&lt;/P&gt;&lt;P&gt;After some investigation i found that if i open a python window and try to run the "import arcpy" command I get the error:&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 in the ArcGIS application.&lt;/P&gt;&lt;P&gt;Active environment version : 3.5&lt;BR /&gt;arcgispro-py3 environment version : 3.3&lt;/P&gt;&lt;P&gt;To update the existing environment see the conda proup subcommand&lt;BR /&gt;&amp;gt; conda proup --help&lt;/P&gt;&lt;P&gt;To manually create a new environment for use with the current ArcGIS application:&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;3. 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;4. 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;5. (Optional) Add back missing packages from pip:&lt;BR /&gt;&amp;gt; pip install -r requirements.txt&lt;BR /&gt;6. (Optional) Make it the default for the ArcGIS application and the&lt;BR /&gt;"Python Command Prompt":&lt;BR /&gt;&amp;gt; proswap my-env&lt;/P&gt;&lt;P&gt;I am unable to run any of the commands listed in this output. Any conda command i try to run just gives me a syntax error. Im very confused as to whats going on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres a screenshot of my Package manager screen if that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using version 3.3.4 of ArcGIS Pro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Nov 2025 17:45:48 GMT</pubDate>
    <dc:creator>JoelWill</dc:creator>
    <dc:date>2025-11-20T17:45:48Z</dc:date>
    <item>
      <title>arcpy version mismatch causing problems</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667597#M100293</link>
      <description>&lt;P&gt;Issue started when trying to use "Geotagged Photos to Points" tool which is just a python script. When opening the tool I get the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;initializeParameters Error: Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Data Management Tools.tbx\GeoTaggedPhotosToPoints.tool\tool.script.validate.py", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcpy&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\__init__.py", line 77, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;File "C:\Users\JoWill\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgisscripting\__init__.py", line 115, in &amp;lt;module&amp;gt;&lt;BR /&gt;raise ImportError("version mis-match") from None&lt;BR /&gt;ImportError: version mis-match&lt;/P&gt;&lt;P&gt;After some investigation i found that if i open a python window and try to run the "import arcpy" command I get the error:&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 in the ArcGIS application.&lt;/P&gt;&lt;P&gt;Active environment version : 3.5&lt;BR /&gt;arcgispro-py3 environment version : 3.3&lt;/P&gt;&lt;P&gt;To update the existing environment see the conda proup subcommand&lt;BR /&gt;&amp;gt; conda proup --help&lt;/P&gt;&lt;P&gt;To manually create a new environment for use with the current ArcGIS application:&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;3. 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;4. 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;5. (Optional) Add back missing packages from pip:&lt;BR /&gt;&amp;gt; pip install -r requirements.txt&lt;BR /&gt;6. (Optional) Make it the default for the ArcGIS application and the&lt;BR /&gt;"Python Command Prompt":&lt;BR /&gt;&amp;gt; proswap my-env&lt;/P&gt;&lt;P&gt;I am unable to run any of the commands listed in this output. Any conda command i try to run just gives me a syntax error. Im very confused as to whats going on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres a screenshot of my Package manager screen if that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using version 3.3.4 of ArcGIS Pro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 17:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667597#M100293</guid>
      <dc:creator>JoelWill</dc:creator>
      <dc:date>2025-11-20T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy version mismatch causing problems</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667599#M100295</link>
      <description>&lt;P&gt;I doubt if a soft reset is going to fix anything, but if you want to completely reinstall Pro then follow&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-perform-a-clean-uninstall-and-reinstall-of-arcgi-000030419" target="_blank"&gt;How To: Perform a Clean Uninstall and Reinstall of ArcGIS Pro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 17:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667599#M100295</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-11-20T17:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy version mismatch causing problems</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667601#M100296</link>
      <description>&lt;P&gt;I would like to try that however our software is managed by IT and unfortunately getting someone on the phone to go through the install will take ages&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 17:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667601#M100296</guid>
      <dc:creator>JoelWill</dc:creator>
      <dc:date>2025-11-20T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy version mismatch causing problems</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667605#M100298</link>
      <description>&lt;P&gt;get a list of the environments on your maching, then remove anything that isn't arcgispro-pye&lt;/P&gt;&lt;LI-CODE lang="python"&gt;conda env list
conda env remove --name whatever_the_env_name_is&lt;/LI-CODE&gt;&lt;P&gt;Then clone arcgispro-py3 as per the instructions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 18:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcpy-version-mismatch-causing-problems/m-p/1667605#M100298</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-11-20T18:12:13Z</dc:date>
    </item>
  </channel>
</rss>

