ImportError: cannot import name 'FeatureClassifier'

from arcgis.learn  import prepare_data, FeatureClassifier

--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-79c4dce44ee2> in <module> ----> 1 from arcgis.learn import prepare_data, FeatureClassifier ImportError: cannot import name 'FeatureClassifier'
在jupyter-lab中执行命令提示以上错误,如何解决呢?
QQ拼音截图20200206091646.png
已邀请:

刘恒

赞同来自:

    查了一下jupyterlab是jupyter notebook的下一代产品,集成了更多功能。  
    但是目前arcgis pro中集成的Python是以conda的形式完成的;其中arcgis.learn是已经集成封装好的在arcgis库内部,没有使用jupyterlab仍是 使用jupyter notebook;
 
     其中只需要安装arcgis pro产品,然后就可以在arcgis pro的安装目录下找到jupyter notebook,直接打开jupyter notebook,新建python3输入 from arcgis.learn  import prepare_data, FeatureClassifier即不会报错;
 
 
 

要回复问题请先登录注册