使用产品:iDesktopX 10i
问题描述:想尝试机器学习功能,打开软件“开始”-“浏览”-“python”后,控制台报错:ImportError: DLL load failed: 找不到指定的程序;若点击三角启动按钮,软件会卡死无法继续操作;参照 https://blog.csdn.net/supermapsupport/article/details/104989704 文章流程来做的,环境变量配置为:D:\SuperMap\SuperMap iDesktopX 10i\bin路径;Python组件包也已安装;机器学习依赖库安装的版本为:GDAL-3.1.2-cp36-cp36m-win_amd64.whl和rasterio-1.1.5-cp36-cp36m-win_amd64.whl;也下载resources_ml资源包;唯一未解决的是python3.6版本如何切换和桌面端点开python后报错问题,请问应需要如何配置?
报错代码:Traceback (most recent call last):
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\pydevconsole.py", line 5, in <module>
from _pydev_comm.rpc import make_rpc_client, start_rpc_server, start_rpc_server_and_make_client
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_comm\rpc.py", line 4, in <module>
from _pydev_comm.server import TSingleThreadedServer
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\pydev\_pydev_comm\server.py", line 4, in <module>
from _shaded_thriftpy.server import TServer
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\third_party\thriftpy\_shaded_thriftpy\server.py", line 9, in <module>
from _shaded_thriftpy.transport import (
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\third_party\thriftpy\_shaded_thriftpy\transport\__init__.py", line 57, in <module>
from .sslsocket import TSSLSocket, TSSLServerSocket # noqa
File "D:\SuperMap\SuperMap iDesktopX 10i\resources\python-helpers\third_party\thriftpy\_shaded_thriftpy\transport\sslsocket.py", line 7, in <module>
import ssl
File "D:\SuperMap\SuperMap iDesktopX 10i\support\MiniConda\lib\ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed: 找不到指定的程序。
问题图片: