iDesktopX 10i 机器学习 训练数据生成时 出错, 咋办?

0 投票
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)]
[iObjectsPy]: Connection gateway-service successful, Python callback port bind 64155

Traceback (most recent call last):
  File "<input>", line 11, in <module>
  File "C:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\bcb3e729e880e969/iobjectspy/ml\vision\__init__.py", line 1, in <module>
  File "C:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\bcb3e729e880e969/iobjectspy/ml\vision\_datapreparation.py", line 5, in <module>
  File "C:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "D:\BuildAgent\work\bcb3e729e880e969/iobjectspy/ml\toolkit\_create_training_data_util.py", line 6, in <module>
  File "C:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'rasterio'

我不会编程,不清楚问题出在哪,这个如何解决呢?
11月 27, 2019 分类:  86次浏览 | 用户: ygtwrdx (6 分)

1个回答

2 投票
 
已采纳

您好,您在进行机器学习前是否配置机器学习 Python 环境,看报错信息是由于没有配置造成的。先下载机器学习资源包:http://support.supermap.com.cn/DownloadCenter/DownloadPage.aspx?id=1195,并将resources_ml 文件夹解压到桌面软件根目录。配置步骤如下:
1.选项卡 -> 开始 -> 浏览 -> 单击 Python
窗口下方会弹出 python 对话窗口,单击小齿轮配置
python 环境:


2

11月 27, 2019 用户: 董懿鑫 名扬四海 (4,067 分)
采纳于 11月 27, 2019 用户:ygtwrdx
十分感谢您详细的解答,问题解决了。
...