Hello! I am running ArcPro v 3.2.2 and am running into this error when I go to open a new notebook. Any thoughts on how to best troubleshoot? @HannesZiegler
@AlexONeill take a look at Python in ArcGIS Pro 3.2 FAQ - Esri Community, there is a section on "Failed to load notebook" errors.
Also, is it working on the default environment arcgispro-py3? If it is only broken in clones, do the versions of-
%programfiles%\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgisscripting\_arcgisscripting.pyd
-and-
%localappdata%\ESRI\conda\envs\<your_env_name>\Lib\site-packages\arcgisscripting\_arcgisscripting.pyd
-match?
You can use a script like this to check the versions:
def get_version_number(filename):
info = GetFileVersionInfo(filename, "\\")
ms = info['FileVersionMS']
ls = info['FileVersionLS']
return HIWORD(ms), LOWORD(ms), HIWORD(ls), LOWORD(ls)
Hi Hannes,
I am getting this error too. I am using version 3.3.0
"Notebook not found at the requested URL. This may be caused by an unsupported proxy configuration, or an invalid Jupyter Notebook server configuration."
I had never used the Notebook functionality until yesterday. I created a notebook and wrote a short script to batch export all my layouts. It worked fine. I didn't modify the environment in any way.
Today I tried to load the notebook and I get the above error. In fact I get this same error when I try to open notebooks in any other projects now, even new projects.
Hey @AlexONeill, I see this error all the time and its usually on starting the ArcPro project. However, I have not been able to reproduce it, it happens randomly. I do have my arcpy environment cloned and have the cx_oracle package added. When I encounter this error I have to close any open notebooks then open them again.
When are you encountering this error, is it when creating new notebooks, on start up, or when adding existing notebooks?
Are you working in the base arcpy environment or in a custom environment?
Hey @BrandonMcAlister. I am having the same problem when I create a clone of the base environment and install scikit-learn. It only happens after I install the package but I haven't been able to see which jupyter versions are inconsistent after installation.
Any updates? Having the same issue but I'm starting in a new project. Just trying to get through the Python for everyone course...
It might not be the most straightforward solution but I had to uninstall all Python-related programs on my computer. A clean uninstall of Conda, ArcGIS Pro, QGIS, Visual Studio Code etc. I deleted all environments and Python-related packages created either with Conda or pip. This problem was possibly related to a version mismatch between packages I was using in my Conda environments and ArcGIS Pro packages. Make sure to isolate the ArcGIS cloned environment from others on your PC.