<?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 Problem with Jupyter Notebook inside ArcGIS Pro 2.6 in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/problem-with-jupyter-notebook-inside-arcgis-pro-2/m-p/1006126#M217</link>
    <description>&lt;P&gt;I have a problem with the Jupyter Notebook embedded inside ArcGIS Pro 2.6&lt;BR /&gt;&lt;BR /&gt;By going into details, when I run even a simple code as&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgis
from arcgis.gis import GIS

gis = GIS()
map = gis.map("Italy")&lt;/LI-CODE&gt;&lt;P&gt;it returns me a Runtime error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;If I try to run the same code inside a "normal" Notebook (with normal I mean a Jupyter Notebook outside of ArcGIS Pro), it works. I attached the two scenarios I previously described.&lt;/P&gt;&lt;P&gt;Do you have any idea to solve this weird behaviour?&lt;BR /&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 11:35:51 GMT</pubDate>
    <dc:creator>matteorizzi</dc:creator>
    <dc:date>2020-12-02T11:35:51Z</dc:date>
    <item>
      <title>Problem with Jupyter Notebook inside ArcGIS Pro 2.6</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/problem-with-jupyter-notebook-inside-arcgis-pro-2/m-p/1006126#M217</link>
      <description>&lt;P&gt;I have a problem with the Jupyter Notebook embedded inside ArcGIS Pro 2.6&lt;BR /&gt;&lt;BR /&gt;By going into details, when I run even a simple code as&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgis
from arcgis.gis import GIS

gis = GIS()
map = gis.map("Italy")&lt;/LI-CODE&gt;&lt;P&gt;it returns me a Runtime error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;If I try to run the same code inside a "normal" Notebook (with normal I mean a Jupyter Notebook outside of ArcGIS Pro), it works. I attached the two scenarios I previously described.&lt;/P&gt;&lt;P&gt;Do you have any idea to solve this weird behaviour?&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 11:35:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/problem-with-jupyter-notebook-inside-arcgis-pro-2/m-p/1006126#M217</guid>
      <dc:creator>matteorizzi</dc:creator>
      <dc:date>2020-12-02T11:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Jupyter Notebook inside ArcGIS Pro 2.6</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/problem-with-jupyter-notebook-inside-arcgis-pro-2/m-p/1074589#M331</link>
      <description>&lt;P&gt;Have you tried including arcpy and os? i.e.&lt;/P&gt;&lt;P&gt;import arcpy,os&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/problem-with-jupyter-notebook-inside-arcgis-pro-2/m-p/1074589#M331</guid>
      <dc:creator>LeandraGordon</dc:creator>
      <dc:date>2021-07-01T08:09:35Z</dc:date>
    </item>
  </channel>
</rss>

