注册

python3.10仍然报DLL load failed while importing dmPython

DM_396739 2023/11/21 1443 5

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:windows
【CPU】:intel
【问题描述】*:
python3 setup.py install没有报错,但是import dmPython时一直报
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed while importing dmPython: 找不到指定的模块。

1.按照https://eco.dameng.com/document/dm/zh-cn/start/python-development.html
pip3 list安装成功
将dpi目录文件拷贝到D:\Python\Python310\Lib\site-packages\dmPython-2.4.5-py3.10-win-amd64.egg路径下
不生效
2.按照https://eco.dameng.com/document/dm/zh-cn/faq/faq-python.html
添加环境变量
image.png

image.png
不生效
3. 按照https://eco.dameng.com/community/question/685e57e64a8499010fad851c2a802eb7
image.png
不生效
4. 按照https://eco.dameng.com/community/training/92efead8affde47fd95ba5d060118456
仍不生效,但是先import dpi
再import dmPython就可以

image.png

回答 0
暂无回答
扫一扫
联系客服