<?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 arcgis import returns errors when starting from Python prompt under Pro in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-import-returns-errors-when-starting-from/m-p/821228#M2811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use Python API fine with Pro 1.4 and Python API 1.2 version. I just updated Pro to 2.0 today, and found the import arcgis command returned errors:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/365340_pastedImage_1.png" style="width: 620px; height: 483px;" /&gt;&lt;/P&gt;&lt;P&gt;The errors only showed up when opening Jupyter Notebook with the Python prompt under ArcGIS Pro; when I tried to open the same notebook with Anaconda prompt, everything worked well. I wonder why this is happening... I initially installed Python API through Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Leilei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 20:04:07 GMT</pubDate>
    <dc:creator>LeileiDuan1</dc:creator>
    <dc:date>2017-08-01T20:04:07Z</dc:date>
    <item>
      <title>arcgis import returns errors when starting from Python prompt under Pro</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-import-returns-errors-when-starting-from/m-p/821228#M2811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use Python API fine with Pro 1.4 and Python API 1.2 version. I just updated Pro to 2.0 today, and found the import arcgis command returned errors:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/365340_pastedImage_1.png" style="width: 620px; height: 483px;" /&gt;&lt;/P&gt;&lt;P&gt;The errors only showed up when opening Jupyter Notebook with the Python prompt under ArcGIS Pro; when I tried to open the same notebook with Anaconda prompt, everything worked well. I wonder why this is happening... I initially installed Python API through Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Leilei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 20:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-import-returns-errors-when-starting-from/m-p/821228#M2811</guid>
      <dc:creator>LeileiDuan1</dc:creator>
      <dc:date>2017-08-01T20:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis import returns errors when starting from Python prompt under Pro</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-import-returns-errors-when-starting-from/m-p/821229#M2812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have my jupyter shortcut installed on my desktop here...&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;C&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\ArcPro\bin\Python\envs\arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;py3\pythonw&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exe &lt;SPAN class="string token"&gt;"C:/ArcPro/bin/Python/envs/arcgispro-py3/Scripts/jupyter-notebook-script.py"&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;since I installed Pro in a &lt;STRONG&gt;C:\ArcPro&lt;/STRONG&gt; folder, that part will differ in your installation but the rest will be the same.&lt;/P&gt;&lt;P&gt;Similarly, I use Spyder as my python IDE and it is likewise installed in a similar fashion&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;C&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;\ArcPro\bin\Python\envs\arcgispro&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;py3\pythonw&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exe &lt;SPAN class="string token"&gt;"C:/ArcPro/bin/Python/envs/arcgispro-py3/Scripts/spyder-script.py"&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;&lt;/P&gt;&lt;P&gt;see my blog post on &lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts"&gt;Creating Desktop shortcuts&lt;/A&gt; and&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/09/arcgis-pro-2-jupyter-notebook-setup-basics"&gt;Jupyter Notebook setup&lt;/A&gt;&amp;nbsp;for other information&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 21:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-import-returns-errors-when-starting-from/m-p/821229#M2812</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-01T21:10:29Z</dc:date>
    </item>
  </channel>
</rss>

