<?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 What is conda-env.exe? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-is-conda-env-exe/m-p/1281705#M67496</link>
    <description>&lt;P&gt;I'm attempting to configure Visual Studio Code for use with Pro 3.1's python environment and ran into a problem. I was able to solve it, but it got me wondering about what is the "correct" way of configuring this setup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was with importing arcpy in an interactive notebook session. If VS Code is configured to use conda.exe for activation (C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe) the kerel crashes when executing&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a hard crash with no useful error messages emitted, and non-ESRI packages import just fine. On a whim I switched to conda-env.exe, and that seems to have solved the problem.&lt;/P&gt;&lt;P&gt;Now I'm curious about this "special" conda executable, as well as the one named&amp;nbsp;conda-proup.exe. How are these different than conda.exe?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And more generally, has ESRI released any official documentation on how to properly use VS Code for developing against the ESRI Python ecosystem?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2023 16:22:04 GMT</pubDate>
    <dc:creator>KeithDesertspring</dc:creator>
    <dc:date>2023-04-23T16:22:04Z</dc:date>
    <item>
      <title>What is conda-env.exe?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-conda-env-exe/m-p/1281705#M67496</link>
      <description>&lt;P&gt;I'm attempting to configure Visual Studio Code for use with Pro 3.1's python environment and ran into a problem. I was able to solve it, but it got me wondering about what is the "correct" way of configuring this setup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was with importing arcpy in an interactive notebook session. If VS Code is configured to use conda.exe for activation (C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe) the kerel crashes when executing&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a hard crash with no useful error messages emitted, and non-ESRI packages import just fine. On a whim I switched to conda-env.exe, and that seems to have solved the problem.&lt;/P&gt;&lt;P&gt;Now I'm curious about this "special" conda executable, as well as the one named&amp;nbsp;conda-proup.exe. How are these different than conda.exe?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And more generally, has ESRI released any official documentation on how to properly use VS Code for developing against the ESRI Python ecosystem?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 16:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-conda-env-exe/m-p/1281705#M67496</guid>
      <dc:creator>KeithDesertspring</dc:creator>
      <dc:date>2023-04-23T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is conda-env.exe?</title>
      <link>https://community.esri.com/t5/python-questions/what-is-conda-env-exe/m-p/1281737#M67498</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;You might want to consult this link:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/using-conda-with-arcgis-pro.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/using-conda-with-arcgis-pro.htm&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I'm using VS code too, using the python environmnt from ArcGIS Pro. In my VS code configuration I basically set the python.exe path from Pro as my default python interpreter, and it's been working fine.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 05:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-is-conda-env-exe/m-p/1281737#M67498</guid>
      <dc:creator>EvelynHsu</dc:creator>
      <dc:date>2023-04-24T05:53:12Z</dc:date>
    </item>
  </channel>
</rss>

