<?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: AGOL : python lib install in jupyternotebook with pip in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506116#M793</link>
    <description>&lt;P&gt;are the packages the same in both environments?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 11:15:21 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2024-07-17T11:15:21Z</dc:date>
    <item>
      <title>AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1505698#M790</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I am tring to install &lt;A href="https://www.yworks.com/products/yfiles-graphs-for-jupyter" target="_self"&gt;this python lib.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i am using jupyternotebook on arcgis online&lt;/P&gt;&lt;P&gt;when i run this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;%pip install yfiles_jupyter_graphs --quiet&lt;BR /&gt;from yfiles_jupyter_graphs import GraphWidget&lt;/P&gt;&lt;P&gt;i have got this message&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;DEPRECATION: Loading egg at /opt/conda/lib/python3.11/site-packages/tflite_model_maker-0.3.4-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at &lt;A href="https://github.com/pypa/pip/issues/12330" target="_blank" rel="noopener"&gt;https://github.com/pypa/pip/issues/12330&lt;/A&gt;&lt;/SPAN&gt;
Note: you may need to restart the kernel to use updated packages.&lt;/PRE&gt;&lt;P&gt;how can i Avoid this?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 08:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1505698#M790</guid>
      <dc:creator>DISIG</dc:creator>
      <dc:date>2024-07-16T08:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1505706#M791</link>
      <description>&lt;P&gt;both document links you provided give the answer.&amp;nbsp; Don't use *,egg files.&amp;nbsp; It is just a warning, so it should have installed.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can install yFiles Graphs for Jupyter using pip. Run the following command in your Jupyter Notebook or command line:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pip install yfiles_jupyter_graphs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and if that doesn't work, then see the alternates at&lt;/P&gt;&lt;P&gt;&lt;A href="https://pip.pypa.io/en/stable/installation/" target="_blank"&gt;Installation - pip documentation v24.1.2 (pypa.io)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 08:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1505706#M791</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-07-16T08:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506085#M792</link>
      <description>&lt;P&gt;Thank you for your answer Dan,&lt;/P&gt;&lt;P&gt;for me the code below works in google colab but it does not on agol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from yfiles_jupyter_graphs import GraphWidget&lt;BR /&gt;w = GraphWidget()&lt;BR /&gt;w.nodes = [&lt;BR /&gt;{"id": 0, "properties": {"firstName": "Alpha", "label": "Person A"}},&lt;BR /&gt;{"id": "one", "properties": {"firstName": "Bravo", "label": "Person B"}},&lt;BR /&gt;{"id": 2.0, "properties": {"firstName": "Charlie", "label": "Person C", "has_hat": False}},&lt;BR /&gt;{"id": True, "properties": {"firstName": "Delta", "label": "Person D", "likes_pizza": True}}&lt;BR /&gt;]&lt;BR /&gt;w.edges = [&lt;BR /&gt;{"id": "zero", "start": 0, "end": "one", "properties": {"since": "1992", "label": "knows"}},&lt;BR /&gt;{"id": 1, "start": "one", "end": True, "properties": {"label": "knows", "since": "1992"}},&lt;BR /&gt;{"id": 2.0, "start": 2.0, "end": True, "properties": {"label": "knows", "since": "1992"}},&lt;BR /&gt;{"id": False, "start": 0, "end": 2.0, "properties": {"label": "knows", "since": 234}}&lt;BR /&gt;]&lt;BR /&gt;w.directed = True&lt;BR /&gt;display(w)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'GraphModel' from module 'yfiles-jupyter-graphs'
Error: Script error for "yfiles-jupyter-graphs"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (https://notebooksservices1.arcgis.com/27be4f33be3945fc98c22c5ced05f817/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:168:17)
    at HTMLScriptElement.onScriptError (https://notebooksservices1.arcgis.com/27be4f33be3945fc98c22c5ced05f817/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735:36)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 08:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506085#M792</guid>
      <dc:creator>DISIG</dc:creator>
      <dc:date>2024-07-17T08:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506116#M793</link>
      <description>&lt;P&gt;are the packages the same in both environments?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 11:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506116#M793</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-07-17T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506586#M795</link>
      <description>&lt;P&gt;Maintainer of yfiles-jupyter-graphs here.&lt;/P&gt;&lt;P&gt;Just yesterday, we fixed an issue with our CDN deployment which made VSCode fail to load the widget (&lt;A href="https://github.com/yWorks/yfiles-jupyter-graphs/issues/54)" target="_blank"&gt;https://github.com/yWorks/yfiles-jupyter-graphs/issues/54)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I'm not familiar with how AGOL works, but maybe it uses the same approach as VSCode (which is different to how Google Colab loads the widget) and the same fix as described in the issue may work here too: Making sure to install the newest version of the widget (1.7.3). Please note that VSCode has some caching mechanism that made loading the newest version a bit tricky, so maybe this must be considered here as well.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 12:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1506586#M795</guid>
      <dc:creator>fskpf</dc:creator>
      <dc:date>2024-07-18T12:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1507843#M798</link>
      <description>&lt;P&gt;Hello every body,&lt;/P&gt;&lt;P&gt;!pip install yfiles-jupyter-graphs --upgrade&lt;BR /&gt;from yfiles_jupyter_graphs import GraphWidget&lt;/P&gt;&lt;P&gt;I will give some news when the graph functionnality will be integrated to &lt;A href="https://sigcg02.maps.arcgis.com/home/item.html?id=4cb71b60b5704a05ad562972f61d3fd6" target="_blank" rel="noopener"&gt;my script&lt;/A&gt; that tracks items's relations inside an agol Site &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 10:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1507843#M798</guid>
      <dc:creator>DISIG</dc:creator>
      <dc:date>2024-07-22T10:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1507844#M799</link>
      <description>&lt;P&gt;No more error message. thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 09:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1507844#M799</guid>
      <dc:creator>DISIG</dc:creator>
      <dc:date>2024-07-22T09:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL : python lib install in jupyternotebook with pip</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1508399#M802</link>
      <description>&lt;P&gt;Nice to hear that it worked on your end as well!&lt;/P&gt;&lt;P&gt;I would love to see your integration. I've yet to see an integration in this field.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 06:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/agol-python-lib-install-in-jupyternotebook-with/m-p/1508399#M802</guid>
      <dc:creator>fskpf</dc:creator>
      <dc:date>2024-07-23T06:55:52Z</dc:date>
    </item>
  </channel>
</rss>

