Arcgis中出现奇怪的未处理错误如何解决python
How to fix the problem of strange unhandled error in Arcgis python
我正在尝试开始使用 Arcgis for python。但是,我在 jupyter notebook 上遇到了一个奇怪的“未处理错误”,如下所示
from arcgis.gis import GIS
gis = GIS()
m = gis.map()
m
错误是
Unhandled Error! See the browser console for more info.
当我尝试查看 Firefox 浏览器控制台时,出现一些奇怪的 js 错误。日志是
我想知道为什么会出现错误,如何解决?
我认为问题出在 arcgis 的版本和 arcgis 的一些默认设置上。
在我使用 conda install -c esri arcgis
更新 arcgis
后,我通过 jupyter nbextension enable arcgis --py --sys-prefix
在浏览器中启用了 jupyter notebook 扩展。这解决了问题。
我正在尝试开始使用 Arcgis for python。但是,我在 jupyter notebook 上遇到了一个奇怪的“未处理错误”,如下所示
from arcgis.gis import GIS
gis = GIS()
m = gis.map()
m
错误是
Unhandled Error! See the browser console for more info.
当我尝试查看 Firefox 浏览器控制台时,出现一些奇怪的 js 错误。日志是
我想知道为什么会出现错误,如何解决?
我认为问题出在 arcgis 的版本和 arcgis 的一些默认设置上。
在我使用 conda install -c esri arcgis
更新 arcgis
后,我通过 jupyter nbextension enable arcgis --py --sys-prefix
在浏览器中启用了 jupyter notebook 扩展。这解决了问题。