<?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: How to choose the ArcGIS Pro Python environment used by Jupyter Notebook? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866774#M4458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I think I'm going to put in a support ticket.&amp;nbsp; For me, running&amp;nbsp;print(arcgis.__path__) returns the path to my default environment, even though the cloned environment is shown as the active one in the Pro python package manager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2019 22:03:59 GMT</pubDate>
    <dc:creator>AndrewRudin1</dc:creator>
    <dc:date>2019-07-16T22:03:59Z</dc:date>
    <item>
      <title>How to choose the ArcGIS Pro Python environment used by Jupyter Notebook?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866772#M4456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get going with Jupyter Notebooks and the ArcGIS API for Python, but I'm having some problems with the version installed with ArcGIS Pro 2.4.&amp;nbsp; I know that in Pro you can create multiple Python environments, and you can activate which one is used by the&amp;nbsp;project via the GUI by going to Project-&amp;gt;Python.&amp;nbsp; I saw that Pro 2.4 installs the ArcGIS API version 1.6.1...however the API website shows 1.6.2 is the latest.&amp;nbsp; I created a clone of the default environment and upgraded the API using &lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/#ArcGIS-Pro-2.2"&gt;these instructions&lt;/A&gt;.&amp;nbsp; When I go back into Pro I can see the clone environment has arcgis api version 1.6.2, and it is the active version for my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, when I open the Jupyter Notebooks provided on the Start Menu under ArcGIS, I believe it is using the default environment and not my upgraded one.&amp;nbsp; I don't see anything on the Jupyter Notebook interface that tells me which environment is being used.&amp;nbsp; To check, I created a new notebook and entered the following code:&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;import arcgis&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;print(arcgis.__version__)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The result says 1.6.1, therefore I assume it's using the default environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice on how to get the Jupyter Notebook to use my&amp;nbsp;clone environment?&amp;nbsp; I'm trying to stick with the out of the box tools installed with Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:21:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866772#M4456</guid>
      <dc:creator>AndrewRudin1</dc:creator>
      <dc:date>2019-07-16T15:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to choose the ArcGIS Pro Python environment used by Jupyter Notebook?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866773#M4457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcgis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;__path__&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get the path of the active&amp;nbsp;Python environment used by Jupyter Notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can activate the version in the python package manager under manage environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 18:38:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866773#M4457</guid>
      <dc:creator>KarstenRank</dc:creator>
      <dc:date>2019-07-16T18:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to choose the ArcGIS Pro Python environment used by Jupyter Notebook?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866774#M4458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I think I'm going to put in a support ticket.&amp;nbsp; For me, running&amp;nbsp;print(arcgis.__path__) returns the path to my default environment, even though the cloned environment is shown as the active one in the Pro python package manager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 22:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-choose-the-arcgis-pro-python-environment/m-p/866774#M4458</guid>
      <dc:creator>AndrewRudin1</dc:creator>
      <dc:date>2019-07-16T22:03:59Z</dc:date>
    </item>
  </channel>
</rss>

