Failed to load notebook

14230
61
11-28-2022 10:10 AM
TylerT
by
Occasional Contributor III

I am getting this error upon any new or existing notebook open, within any project.  It's a global issue.  Any ideas how to fix?  The error starting occurring upon upgrade to version 3.0.2.

TylerT_0-1669658877436.png

Thank you.  Tyler

ArcGIS 3.0.2

 

Tags (3)
61 Replies
ShaunWalbridge
Esri Regular Contributor

I would try creating the environment from your normal user account rather than doing it as an administrator, if you do that you should see the environment in %LOCALAPPDATA%\ESRI\conda\envs by default. One thing you can try is just running the Pro notebook before installing anything into the initial clone to verify it works before making changes. There was an issue with clones that was fixed in 2.9 and 3.0 (see the Notebook FAQ) but that shouldn't apply for 3.1.

0 Kudos
Bigfoot48
New Contributor

The shortcut to Jupyter Notebook is messed up. If you go to the properties of the shortcut and go to the field Target you will see this:
"C:\Program Files\ArcGIS\Pro\bin\Python\cwp.exe" "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3" "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\jupyter-note

They want to put in there more than is possible, hence the cut-off notebook.
If you would copy this manually in a command prompt or batch file with the completed paths it wont start.

But, if you put this in the Target field: "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\jupyter-notebook.exe" it works it loads the config file for jupyter

Bigfoot48_0-1708166778543.png

 


0 Kudos