<?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: &amp;quot;Failed to load notebook&amp;quot; when using custom environment in R-ArcGIS Questions</title>
    <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1261738#M425</link>
    <description>&lt;P&gt;Yes, that's right, we needed to add a fix on our end to make this work. One of the challenges with conda and custom packages is, once you've released something you effectively can't take it back because it'll be installed and used, and if the dependencies aren't specified tightly, conda will always choose the version that is "easiest" for it to solve, which in this case involved bad dependencies.&lt;/P&gt;&lt;P&gt;We've put the fix up which can be added to any custom environment by installing the `pro-notebook-hotfix` package. There are also details on how to do this in the first question of the Pro Notebooks 3.0 FAQ:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-documents/arcgis-notebooks-in-arcgis-pro-3-0-faq/ta-p/1196582" target="_blank"&gt;https://community.esri.com/t5/python-documents/arcgis-notebooks-in-arcgis-pro-3-0-faq/ta-p/1196582&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If it is available to you, you can also upgrade to Pro 3.1 which works out of the box without needing to add any additional packages.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2023 03:01:41 GMT</pubDate>
    <dc:creator>ShaunWalbridge</dc:creator>
    <dc:date>2023-02-25T03:01:41Z</dc:date>
    <item>
      <title>"Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233694#M399</link>
      <description>&lt;P&gt;I've set up a cloned custom Python environment in ArcPro 3.0.2 to set up the r-arcgisbridge package.&lt;/P&gt;&lt;P&gt;Cloning the environment and installing the package work ok, but when opening a notebook, I get an error, "Failed to load notebook".&lt;/P&gt;&lt;P&gt;If I switch back to the default environment I can load a notebook ok.&lt;/P&gt;&lt;P&gt;Any advice on how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 11:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233694#M399</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2022-11-21T11:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233697#M400</link>
      <description>&lt;P&gt;This package was installed?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Install the Conda package r-arcgis-essentials&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 11:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233697#M400</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-11-21T11:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233707#M401</link>
      <description>&lt;P&gt;Thanks Dan, I've tried installing `r-arcgis-essentials` but it throws an error:&lt;/P&gt;&lt;PRE&gt;Collecting package metadata (current_repodata.json): ...working... done&lt;BR /&gt;Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.&lt;BR /&gt;Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.&lt;BR /&gt;Collecting package metadata (repodata.json): ...working... done&lt;BR /&gt;Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.&lt;BR /&gt;Building graph of deps: 0%| | 0/4 [00:00&amp;lt;?, ?it/s]&lt;BR /&gt;Examining @/win-64::__win==0=0: 0%| | 0/4 [00:00&amp;lt;?, ?it/s]&lt;BR /&gt;Examining python=3.9: 25%|##5 | 1/4 [00:00&amp;lt;?, ?it/s] &lt;BR /&gt;Examining @/win-64::__archspec==1=x86_64: 50%|##### | 2/4 [00:00&amp;lt;00:00, 12.28it/s]&lt;BR /&gt;Examining @/win-64::__archspec==1=x86_64: 75%|#######5 | 3/4 [00:00&amp;lt;00:00, 18.43it/s]&lt;BR /&gt;Examining r-arcgis-essentials=1.1: 75%|#######5 | 3/4 [00:00&amp;lt;00:00, 18.43it/s] &lt;BR /&gt;&lt;BR /&gt;Determining conflicts: 0%| | 0/4 [00:00&amp;lt;?, ?it/s]&lt;BR /&gt;Examining conflict for python r-arcgis-essentials: 0%| | 0/4 [00:00&amp;lt;?, ?it/s]&lt;BR /&gt;&lt;BR /&gt;Solving environment: ...working... &lt;BR /&gt;Found conflicts! Looking for incompatible packages.&lt;BR /&gt;This can take several minutes. Press CTRL-C to abort.&lt;BR /&gt;failed&lt;BR /&gt;UnsatisfiableError: The following specifications were found to be incompatible with each other:&lt;BR /&gt;Output in format: Requested package -&amp;gt; Available versions&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 13:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233707#M401</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2022-11-21T13:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233918#M402</link>
      <description>&lt;P&gt;windows machine?&lt;/P&gt;&lt;P&gt;&lt;A href="https://anaconda.org/Esri/r-arcgis-essentials/files" target="_blank"&gt;Files :: Anaconda.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;looks like there have only been 10 downloads in the last 7 months.&lt;/P&gt;&lt;P&gt;I'll see if there is a more appropriate place to move this thread.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233918#M402</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-11-21T20:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233919#M403</link>
      <description>&lt;P&gt;You might want to have a look over here too&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/R-ArcGIS/r-bridge-install" target="_blank"&gt;R-ArcGIS/r-bridge-install: Install the R ArcGIS Tools (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 21:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1233919#M403</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-11-21T21:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1240513#M407</link>
      <description>&lt;P&gt;Did you find any resolution for this? I'm getting the same issue with installing geopandas and rasterio packages in a cloned environment. If I switch back to the default environment then Notebook loads fine. I've tried reinstalling ArcGIS Pro (3.0.0) and no change and I get the exact same issue if I do the same on another PC (with ArcGIS Pro 3.0.2). The later comments on this thread suggest this might be a new issue but no clear solution at this point &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/getting-an-error-quot-failed-to-load-notebook-quot/td-p/127422" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/getting-an-error-quot-failed-to-load-notebook-quot/td-p/127422&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 10:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1240513#M407</guid>
      <dc:creator>HeatherChamberlain</dc:creator>
      <dc:date>2022-12-13T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1240533#M408</link>
      <description>&lt;P&gt;Sadly not - I tried a few different things but none of them worked so in the end I gave up.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 11:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1240533#M408</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2022-12-13T11:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1256868#M420</link>
      <description>&lt;P&gt;The 1.1 version of the package is targeting a newer release of R (4.1), and unfortunately that version isn't available in the default channels. Because 1.1 gets selected from the UI automatically, I've removed it from our channel for the time being until we sort out the R version problem. Thanks for reporting this, and let me know if you can install r-arcgis-essentials again.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 05:58:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1256868#M420</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-02-10T05:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1256873#M421</link>
      <description>&lt;P&gt;We recently upgraded the Notebook stack provided on the Esri channel in preparation for the Pro 3.1 release, and think that this is causing the regression in custom environments. I've logged an issue for this and will update the thread once we have a solution available. Sorry for the trouble with custom environments.&lt;BR /&gt;&lt;BR /&gt;Cheers, Shaun&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 06:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1256873#M421</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-02-10T06:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258557#M422</link>
      <description>&lt;P&gt;I just want to verify that I'm understanding this issue. I am also getting the same error with the inconsistent environment when trying to install or upgrade packages in a cloned environment. I haven't tried installing these to the default environment because I don't want to mess anything up and have to reinstall Pro and the deep learning stuff.&lt;/P&gt;&lt;P&gt;Shaun, you're saying this error may be caused by an upgrade to the "notebook stack" on your end and we are just waiting on a solution before we can use cloned environments?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 17:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258557#M422</guid>
      <dc:creator>melissaur1039</dc:creator>
      <dc:date>2023-02-15T17:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258577#M423</link>
      <description>&lt;P&gt;I've been in touch with someone from the ESRI customer care team UK and they advised to clone the environment via the Python command prompt as described here:&amp;nbsp;&lt;A title="Original URL: https://support.esri.com/en/technical-article/000020560. Click or tap if you trust this link." href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.esri.com%2Fen%2Ftechnical-article%2F000020560&amp;amp;data=05%7C01%7CH.Chamberlain%40soton.ac.uk%7C13d3005ee3934e0fde3408db083244dd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638112784208235594%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=c7iVG%2BE9lidKqhvmIu30QiAPKoH7Ncv62sAR1yO0nVY%3D&amp;amp;reserved=0" target="_blank" rel="noopener noreferrer"&gt;https://support.&lt;SPAN class=""&gt;esri&lt;/SPAN&gt;.com/en/technical-article/000020560&lt;/A&gt;, before then installing packages in cloned environment. I haven't tested this extensively but when I tried briefly, this seems to have hopefully solved it for me (I tested with installing rasterio and then geopandas only).&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 17:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258577#M423</guid>
      <dc:creator>HeatherChamberlain</dc:creator>
      <dc:date>2023-02-15T17:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258972#M424</link>
      <description>&lt;P&gt;I have tried that a couple different times and still can't install r-arcgis-essentials unfortunately.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 17:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1258972#M424</guid>
      <dc:creator>melissaur1039</dc:creator>
      <dc:date>2023-02-16T17:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to load notebook" when using custom environment</title>
      <link>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1261738#M425</link>
      <description>&lt;P&gt;Yes, that's right, we needed to add a fix on our end to make this work. One of the challenges with conda and custom packages is, once you've released something you effectively can't take it back because it'll be installed and used, and if the dependencies aren't specified tightly, conda will always choose the version that is "easiest" for it to solve, which in this case involved bad dependencies.&lt;/P&gt;&lt;P&gt;We've put the fix up which can be added to any custom environment by installing the `pro-notebook-hotfix` package. There are also details on how to do this in the first question of the Pro Notebooks 3.0 FAQ:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-documents/arcgis-notebooks-in-arcgis-pro-3-0-faq/ta-p/1196582" target="_blank"&gt;https://community.esri.com/t5/python-documents/arcgis-notebooks-in-arcgis-pro-3-0-faq/ta-p/1196582&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If it is available to you, you can also upgrade to Pro 3.1 which works out of the box without needing to add any additional packages.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 03:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/r-arcgis-questions/quot-failed-to-load-notebook-quot-when-using/m-p/1261738#M425</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2023-02-25T03:01:41Z</dc:date>
    </item>
  </channel>
</rss>

