<?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: Adding notebook crashing ArcGIS in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045327#M39490</link>
    <description>&lt;P&gt;That probably makes sense.&amp;nbsp; I am new to all this stuff so I am just figuring out how it all works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this is the issue:&amp;nbsp; I actually have a py3 environment with deep learning packages installed (I do have another thread on DL stuff, but the notebook issue is now a different topic).&amp;nbsp; What I am trying to do is use the ArcGIS notebook to customize deep learning tools.&amp;nbsp; So I need both environments installed at once?&amp;nbsp; How do I achieve this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 01:33:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-04-09T01:33:43Z</dc:date>
    <item>
      <title>Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045320#M39488</link>
      <description>&lt;P&gt;Hey, so I'm running into a problem that I cannot find much info on at the moment.&lt;/P&gt;&lt;P&gt;I am trying to add/open notebooks on ArcGIS Pro, and it keeps crashing ArcGIS Pro, claiming there is an application error.&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro v2.7.2.&amp;nbsp; ArcPy environment is 3.6 (although python 3.9 is also installed on my PC for some reason).&amp;nbsp; Anaconda says "Anaconda3"?&amp;nbsp; Not sure how to find exact Anaconda version.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know what to do?&amp;nbsp; I am considering uninstalling/re-installing everything, but my time is short.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 00:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045320#M39488</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-09T00:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045322#M39489</link>
      <description>&lt;P&gt;You are going to have to make sure that the &lt;STRONG&gt;arcgis_pro&lt;/STRONG&gt; environment is activated.&lt;/P&gt;&lt;P&gt;Your python 3.9 environment may be interfering with the required environment associated with arcgis pro.&lt;/P&gt;&lt;P&gt;It might be easier to uninstall the 3.9 environment until you can things figured out (or install it on another machine)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 01:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045322#M39489</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-09T01:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045327#M39490</link>
      <description>&lt;P&gt;That probably makes sense.&amp;nbsp; I am new to all this stuff so I am just figuring out how it all works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this is the issue:&amp;nbsp; I actually have a py3 environment with deep learning packages installed (I do have another thread on DL stuff, but the notebook issue is now a different topic).&amp;nbsp; What I am trying to do is use the ArcGIS notebook to customize deep learning tools.&amp;nbsp; So I need both environments installed at once?&amp;nbsp; How do I achieve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 01:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045327#M39490</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-09T01:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045330#M39491</link>
      <description>&lt;P&gt;Not sure why you need python 3.9, I don't see it listed as a supported version for arcgis (unless it changed recently).&lt;/P&gt;&lt;P&gt;If you have separate environments/clones, are you sure you are activating the correct one each time? ( I have to ask)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 01:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045330#M39491</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-09T01:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045332#M39492</link>
      <description>&lt;P&gt;I uninstalled Python 3.9 anyway.&amp;nbsp; I think Visual Studio Code got excited and downloaded it for me one day.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, this is what my environment looks like.&amp;nbsp; This should be all from the Deep Learning 2.7 installer (&lt;A href="https://github.com/Esri/deep-learning-frameworks" target="_blank" rel="noopener"&gt;https://github.com/Esri/deep-learning-frameworks&lt;/A&gt;).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; After looking at it, I'm not even sure if the DL package stuff is even installed.&amp;nbsp; Weird, because it was still doing Deep Learning stuff...&amp;nbsp; unless that added that into ArcGIS v2.7.&lt;/P&gt;&lt;P&gt;EDIT: I re-ran the installer but it is all the same.&amp;nbsp; Still has keras and tensorflow packages so must be the deep learning one.&amp;nbsp; I'm so confused because apparently the ArcGIS notebook is supposed to be an inhouse feature, not even connected to Jupyter (except in style and format).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arcPY.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10477i35475A7F3204B251/image-size/large?v=v2&amp;amp;px=999" role="button" title="arcPY.png" alt="arcPY.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 02:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045332#M39492</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-09T02:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045333#M39493</link>
      <description>&lt;P&gt;K drive... local drive?&lt;/P&gt;&lt;P&gt;in any event, you seem to have a lot of duplicates listed in your package list.&lt;/P&gt;&lt;P&gt;This is the latest for arcgis.&amp;nbsp; I wouldn't go to 1.8.5 yet since it is in pre-release&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.org/Esri/arcgis/files" target="_blank" rel="noopener"&gt;Files :: Anaconda.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can't compare your environment since I am on Pro 2.8 beta 1, but the duplicates in your package list certainly isn't good.&lt;/P&gt;&lt;P&gt;I just use Jupyter Notebook or JupyterLab unless I happen to be in ArcGIS Pro&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jupyter_notebook.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10478i5374332492C855B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jupyter_notebook.png" alt="jupyter_notebook.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 02:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045333#M39493</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-09T02:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045342#M39494</link>
      <description>&lt;P&gt;Yes, k drive is local.&amp;nbsp; I cloned the environment and it ended up with 284 installed packages, appears to have left out duplicates.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and now suddenly notebook works in ArcGIS wow&amp;nbsp; &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Must have been an issue with duplicate packages in the default environment.&amp;nbsp; Pretty sure that happened when I did some PC upgrades and had to re-install Windows.&amp;nbsp; Also ended up re-installing ArcGIS on a secondary drive I had it on, and it didn't uninstall properly.&amp;nbsp; It all makes sense now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am curious about how arcpy works when using it in a Jupyter notebook in Chrome (I will be progressing towards this method later on with deep learning, for instance with Google Colabs).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is an image of my trying to run code for training the model, and it doesn't want to recognize arcgis (with or with the first line "import arcgis").&amp;nbsp; Do I need to install arcgis packages into anaconda now?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jupyter.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10479i99B180DAE184377F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jupyter.png" alt="jupyter.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 02:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045342#M39494</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-09T02:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045343#M39495</link>
      <description>&lt;P&gt;if arcgis isn't in the environment you are working in, it needs to be installed there as well.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 02:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045343#M39495</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-09T02:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045348#M39496</link>
      <description>&lt;P&gt;I see.&amp;nbsp; I have one last question for you.&amp;nbsp; I am trying to more or less follow this tutorial here (&lt;A href="https://www.linkedin.com/pulse/machine-learning-object-detection-arcgis-houtan-emad?articleId=6678170107090472962" target="_blank"&gt;https://www.linkedin.com/pulse/machine-learning-object-detection-arcgis-houtan-emad?articleId=6678170107090472962&lt;/A&gt;).&amp;nbsp; So the author uses the "show_results" command to show batch samples and what not.&amp;nbsp; How do I display this in a notebook?&amp;nbsp; Is there a different type of cell for this?&amp;nbsp; I've been trying this in ArcGIS but it just spins out and crashes when I run these show_result steps.&amp;nbsp; It is critical that I see the data throughout this process, hence why I am crash coursing this like Trinity learning to fly a helicopter from the Matrix.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 03:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045348#M39496</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-09T03:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045713#M39543</link>
      <description>&lt;P&gt;I still have the previous issue.&amp;nbsp; I think what is going on is that it is supposed to display the output in the notebook when I run it, but it isn't.&amp;nbsp; When I run the line of code, a shell window pops up and quickly disappears.&amp;nbsp; I suspect that this is the Conda shell that needs to be open when using Jupyter notebooks in browser, but for some reason it automatically closes when it opens in ArcGIS Pro.&amp;nbsp; I don't know what to do about that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; To be more clear, lines like "data.show_batch()" do/show nothing.&amp;nbsp; There is no generated output cell.&amp;nbsp; &amp;nbsp;I have an RTX 3080, pytorch is using it, shouldn't be any hardware issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 01:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045713#M39543</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-04-11T01:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045718#M39544</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api" target="_blank"&gt;Esri/arcgis-python-api: Documentation and samples for ArcGIS API for Python (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it associated with the api and deep learning and kin, the above may be a place to file an Issue or too look through current open and past closed issues to look for a similar case to yours&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 02:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1045718#M39544</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-11T02:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding notebook crashing ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1053501#M40467</link>
      <description>&lt;P&gt;Had to take care of other business, but now I am back to this project.&amp;nbsp; I am still being stonewalled at this step.&amp;nbsp; I cannot get "data.show_batch()" to do anything.&amp;nbsp; I have tried giving it parameters like "(rows=3)" and still nothing.&amp;nbsp; This is essentially a new PC, new installs, same problem.&lt;/P&gt;&lt;P&gt;This is in the notebook IN ArcGIS Pro, and everything appears to be working up to this step.&amp;nbsp; It is supposed to display to me samples of the image chips, but nothing.&amp;nbsp; I really need to figure this out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example project that shows what to expect:&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/guide/feature-categorization/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/guide/feature-categorization/&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: After spending some time on it, and running a test (&lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/" target="_blank"&gt;https://developers.arcgis.com/python/guide/install-and-set-up/&lt;/A&gt;), it seems like I have installation errors with python packages.&amp;nbsp; Just great.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the Deep Learning packages are fine, that's not the issue.&amp;nbsp; The issue seems to be that there are like 60+ packages that say they require an update.&amp;nbsp; I created a cloned environment and everything.&amp;nbsp; ArcGIS Pro refused to update the packages inside of options, did nothing like usual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the update through the Python Command Prompt, which had two outcomes: nothing changed in the options where it still claimed those updates were available; and worst of all, the update itself in the python console required me to accept a few downgrades, which included one for the Jupyter notebook network.&amp;nbsp; This led to ArcGIS Pro claiming it cannot connect to notebook servers, closing the notebooks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I assume this is where the problems are coming from.&amp;nbsp; I just need to update these packages, despite AGP refusing to do it for no discernable reason.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 06:17:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-notebook-crashing-arcgis/m-p/1053501#M40467</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-05-01T06:17:52Z</dc:date>
    </item>
  </channel>
</rss>

