Pyjnius. ImportError: DLL load failed: The specified module was not found

Pyjnius. ImportError: DLL load failed: The specified module was not found

我安装了 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.

如何解决?

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