I am just trying to render a map on my jupyter notebook and it is not displaying. What am I doing wrong here? For this example I am my using my organizations account to log into AGOL because i plan to use some layers.
What version of ArcGIS Pro are you using? If it is not version 2.2.1, please upgrade to that version and try to run the Jupyter notebook again.
I am currently using the ArcGIS Pro 2.2.1 version.
A few things to check:
Firstly, check the versions of the following modules:
print("python version: ",sys.version)print("arcgis API version: ",arcgis.__version__)print("widgetnbextension: ",widgetsnbextension.__version__)print("ipywidgets version: ",ipywidgets.__version__)
Secondly, check if the map widget is enabled?
Hello so I checked for the extensions on my jupyter nb and got this
I also here are the module versionssimo xu
It seems you installed ArcGIS Python API 1.5.0 on the copy of the ArcGIS Pro python environment.
Something went wrong when you were upgrading the pre-installed Python API to the lastest version 1.5.0. and the problem you have in the arcgis/mapview validation is an indication that the old Python API was not fully removed or it's only the configuration not updated properly.
What you can do, at least give it a try at the moment is:
Remove the arcgis/mapview extension entry in the <your user home folder>\.jupyter\nbconfig, then restart the Jupyter server and see if it works.
If not, uninstall ArcGIS Python API using
conda remove -c esri arcgis
and reinstall it using
conda install -c esri arcigs
Retrieving data ...