Select to view content in your preferred language

Using Jupyter Notebooks from within ArcGIS Pro environment

5461
4
02-14-2020 09:43 AM
CanserinaKurnia
Esri Regular Contributor
4 4 5,461

For those using Jupyter notebooks and ArcGIS Pro out there, this is exciting news!  With the release of ArcGIS Pro 2.5, you can now create, edit, and save Jupyter notebooks as part of your ArcGIS Pro project with ArcGIS Notebooks, Esri’s Jupyter notebook environment.   You can also import existing notebooks created within the open source Jupyter.  No additional license is needed for using ArcGIS Notebooks in ArcGIS Pro 2.5 since it’s part of the core functionality.

Notebook tab works side by side with Map tab in ArcGIS Pro

With this integration, it is easy to access and combine python libraries from ArcGIS Pro and open source python in one integrated environment.  The content in your map can also be easily accessed through codes in the notebook window.  It works seamlessly between the notebook and the ArcGIS Pro user interface (UI).  For those teaching, the integration makes it easier to incorporate python programming into your GIS courses. 

Features and Capabilities

To learn more about the feature and capability and how to get started, refer to the following blogs and documentation:

 

Massive Open Online Course (MOOC) 

Register for the upcoming MOOC Spatial Data Science: The New Frontier in Analytics  that will start on Oct 28th, 2020. It’s a free online course to explore the application of spatial data science to uncover hidden patterns and improve predictive modeling.

 

Have Questions?

If you have questions about the using notebooks in ArcGIS Pro, feel free to:

Tags (1)
4 Comments
WanzhiXiao
Emerging Contributor

Hello, thanks for your Blog. I met a question that I can't fix during my usage of the Jupyter notebook in ArcGIS Pro2.5. After I create a new notebook, I click it and it shows "Failed to create notebook server". I don't know why I can't open it in Pro,but I can open it out of Pro. I will be appreciated if you can help me fix that problem, thanks.

CanserinaKurnia
Esri Regular Contributor

Hi Wanzhi Xiao,

Did you create the new notebook in ArcGIS Pro?  It is ArcGIS Pro core capability to create a new notebook inside ArcGIS Pro.  Please try it first before trying to import a Jupyter notebook from outside Pro.   

This blog shows you how to do both:  How to create and add Python notebooks in ArcGIS Pro 2.5 .

Feel free to email me (ckurnia@esri.com) if you still encounter problems.   

WanzhiXiao
Emerging Contributor

Thanks for your reply. I've already fixed that problem by reinstalling ArcGIS Pro. It turns out that I installed some external python libraries somehow broke the usage of  Jupyter notebook. Anyway, I can use it successfully now. Thank you again!!!

ZeldaEls
Occasional Contributor

Good Day Canserina

I have exactly the same issue, namely "Failed to create notebook server", with a Notebook in Pro. It was created in Pro last week using only the ArcPy library and worked perfectly. This morning I renamed it and then Pro crashed. I cannot access this Notebook anymore. I can access it a new Pro project but not in the one it was created orginally.

About the Author
Canserina Kurnia is a GIS professional with over 25 years of experience. She currently holds the position as a Senior Solution Engineer at Esri, at their headquarter office in Redlands, California. Her main role is to provide technical advices and assistance to universities globally, in advancing their GIS technology for teaching and research.