<?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: 'super' object has no attribute '_ipython_display_' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1248319#M64253</link>
    <description>&lt;P&gt;Thank you for sharing this - I was running into the same issue. I did a `pip uninstall ipywidgets` and then a `pip install ipywidgets==7.6.0` and restarted my notebook and no longer running into the error. (NOTE: I dont use ARGGIS Pro, my environment is native python3.9 &amp;nbsp;venv with installed module arcgis==2.1.0) &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jan 2023 12:22:59 GMT</pubDate>
    <dc:creator>EricCorbett</dc:creator>
    <dc:date>2023-01-14T12:22:59Z</dc:date>
    <item>
      <title>'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1244553#M63863</link>
      <description>&lt;P&gt;I'm still learning ArcGIS, but I immediately came upon an issue while trying to get everything set up. This is from the very first tutorial, as well.&lt;/P&gt;&lt;P&gt;The code is very simple. It simply displays a map.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
gis = GIS()
m = gis.map()
m&lt;/LI-CODE&gt;&lt;P&gt;However, I'm getting an error message from this code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW, I installed everything using pip, and I'm in the virtualenvironment that everything was installed into using a jupyter notebook and vs code. I tried it in jupyter lab, just to make sure, but I got the same error.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;AttributeError                            Traceback (most recent call last)
File c:\Users\AlastorBloode\SpanWalker App\ent\lib\site-packages\IPython\core\formatters.py:920, in IPythonDisplayFormatter.__call__(self, obj)
    918 method = get_real_method(obj, self.print_method)
    919 if method is not None:
--&amp;gt; 920     method()
    921     return True

File c:\Users\AlastorBloode\SpanWalker App\ent\lib\site-packages\arcgis\widgets\_mapview\_mapview.py:948, in MapView._ipython_display_(self)
    942 """Override the parent ipython display function that is called
    943 whenever is displayed in the notebook. Display a blank area
    944 below the map widget that can be controlled via a display handler
    945 set to self._preview_image_display_handler.
    946 """
    947 self._setup_gis_properties(self.gis)
--&amp;gt; 948 super(MapView, self)._ipython_display_()
    949 self._preview_image_display_handler = display(
    950     HTML(self._assemble_img_preview_html_str("")),
    951     display_id="preview-" + str(self._uuid),
    952 )
    953 self._preview_html_embed_display_handler = display(
    954     HTML(self._assemble_html_embed_html_str("")),
    955     display_id="preview-html-" + str(self._uuid),
    956 )

AttributeError: 'super' object has no attribute '_ipython_display_'&lt;/LI-CODE&gt;&lt;P&gt;I'm not sure how to fix it, or if it's a known bug or if I'm just making some mistake somewhere, but any help would be highly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 15:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1244553#M63863</guid>
      <dc:creator>AlastorBloode</dc:creator>
      <dc:date>2022-12-30T15:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1246395#M64089</link>
      <description>&lt;P&gt;I also tried to do the same thing. I installed ipywidgets like the following, but I still had issues with arcgis-map-ipywidget. Apparently Jupyter Notebook introduced a breaking change, and we need to downgrade our versions. I'll link a similar github issue at the bottom.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    install_requires=[
        'ipywidgets&amp;gt;=7.6.0,&amp;lt;8'
    ],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/479" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-python-api/issues/479&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 11:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1246395#M64089</guid>
      <dc:creator>JangWonLee</dc:creator>
      <dc:date>2023-01-09T11:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247496#M64184</link>
      <description>&lt;P&gt;Having the same issue and keen on finding a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 23:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247496#M64184</guid>
      <dc:creator>BengtDahlgrenStockholmGeo</dc:creator>
      <dc:date>2023-01-11T23:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247595#M64193</link>
      <description>&lt;P&gt;When using m.embed() instead, I do not get the error above&lt;/P&gt;&lt;LI-CODE lang="c"&gt;AttributeError: 'super' object has no attribute '_ipython_display_'&lt;/LI-CODE&gt;&lt;P&gt;but an error on the following line instead (949 as per the code above)&lt;/P&gt;&lt;LI-CODE lang="python"&gt;AttributeError: 'MapView' object has no attribute '_preview_image_display_handler'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This issue is also discussed here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/mapview-object-has-no-attribute-preview-image/td-p/1043676" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/mapview-object-has-no-attribute-preview-image/td-p/1043676&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 14:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247595#M64193</guid>
      <dc:creator>BengtDahlgrenStockholmGeo</dc:creator>
      <dc:date>2023-01-12T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247865#M64215</link>
      <description>&lt;P&gt;Ok so I managed to solve this issue by:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;updating ArcGis to the latest version 3.0.3, which required .NET Desktop Runtime v6.0&lt;/LI&gt;&lt;LI&gt;cloning a new arcgispro-py3 environment (the new environment runs on Python 3.9 kernel instead of 3.7 previously in my case)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now I have a new issue related to numpy though:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;AttributeError: module 'numpy' has no attribute 'str'&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Jan 2023 22:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1247865#M64215</guid>
      <dc:creator>BengtDahlgrenStockholmGeo</dc:creator>
      <dc:date>2023-01-12T22:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1248266#M64249</link>
      <description>&lt;P&gt;The Numpy error was solved by replacing instances of np.str and np.int (will be deprecated soon) in the _accessor.py file, see&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/attributeerror-module-numpy-has-no-attribute-str/m-p/1248017#M64231" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/attributeerror-module-numpy-has-no-attribute-str/m-p/1248017#M64231&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For the m.embed() code, I think the the map should have been generated at least once before being embedded. This removed the "MapView" error for me.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 22:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1248266#M64249</guid>
      <dc:creator>BengtDahlgrenStockholmGeo</dc:creator>
      <dc:date>2023-01-13T22:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: 'super' object has no attribute '_ipython_display_'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1248319#M64253</link>
      <description>&lt;P&gt;Thank you for sharing this - I was running into the same issue. I did a `pip uninstall ipywidgets` and then a `pip install ipywidgets==7.6.0` and restarted my notebook and no longer running into the error. (NOTE: I dont use ARGGIS Pro, my environment is native python3.9 &amp;nbsp;venv with installed module arcgis==2.1.0) &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2023 12:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/super-object-has-no-attribute-ipython-display/m-p/1248319#M64253</guid>
      <dc:creator>EricCorbett</dc:creator>
      <dc:date>2023-01-14T12:22:59Z</dc:date>
    </item>
  </channel>
</rss>

