Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: DLL load failed while importing _jpype #1167

Open
panc-test opened this issue Dec 27, 2023 · 1 comment
Open

ImportError: DLL load failed while importing _jpype #1167

panc-test opened this issue Dec 27, 2023 · 1 comment

Comments

@panc-test
Copy link

panc-test commented Dec 27, 2023

Traceback (most recent call last):
File "C:/Users/057776/PycharmProjects/funds-app-mock/utils/encrypt.py", line 9, in
import jpype
File "C:\Users\057776\PycharmProjects\funds-app-mock\venv\lib\site-packages\jpype_init_.py", line 18, in
import _jpype
ImportError: DLL load failed while importing _jpype: 找不到指定的模块。

version = "1.5.0"
JPype1-1.5.0-cp38-cp38-win_amd64.whl
wind10 ,64

(venv) C:\Users\057776\PycharmProjects\funds-app-mock>pip install JPype1
Requirement already satisfied: JPype1 in c:\users\057776\pycharmprojects\funds-app-mock\venv\lib\site-packages (1.5.0)
Requirement already satisfied: packaging in c:\users\057776\pycharmprojects\funds-app-mock\venv\lib\site-packages (from JPype1) (23.2)

@marscher
Copy link
Member

It'd be great to have the error message in English. Setting the locale in your operating system or setting a shell variable should do the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants