0

我安装了pyjnius,导入后出现错误:

Traceback (most recent call last):
 File "main.py", line 18, in <module>
     from jnius import autoclass, cast
   File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\jnius\__init__.py", line 41, in <module>
     from .jnius import *  # noqa
 ImportError: DLL load failed: The specified module was not found.

如何解决?

4

1 回答 1

0

问题是我在驱动器 D 上安装了 java jdk。只要我在驱动器 C 上重新安装 jdk(按标准),错误就消失了

于 2020-06-11T09:38:56.707 回答