Test your install

To verify your arcgis installation, run the following commands in jupyter notebook:

Use dark colors for code blocksCopy
1
2
3
4
from arcgis.gis import GIS
my_gis = GIS()
m = my_gis.map()
m
verify map widget

To verify deep learning environment, run the following commands:

import fastai

import torch

import arcgis

Run this command to check if cuda device is picked up for training a model on GPU.

torch.cuda.is_available()

torch.zeros((3, 224, 224)).cuda()

This overview describes how to use ArcGIS API for Python to write Python code, incorporating capabilities such as mapping, query, analysis, geocoding, routing, portal administration, and more. Browse the sample notebooks to get started. You may choose to experience these sample notebooks in a live environment as they are available as ArcGIS Notebooks.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.