You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to use the optapy library in my Python project. Specifically, I'm getting an ImportError related to JPype when I attempt to import optapy. Here are the details of the error:
File "", line 1, in
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\optapy_init_.py", line 11, in
from .annotations import *
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\optapy\annotations.py", line 1, in
import jpype
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\jpype_init_.py", line 18, in import _jpypeImportError: DLL load failed while importing _jpype: The specified module could not be found.
Your install of JPype is incomplete. Likely it was copied in such a way that it does not include the C++ based support module. Uninstall JPype and reinstall it again so that it can hopefully install the missing piece.
Hi everyone,
I'm encountering an issue when trying to use the optapy library in my Python project. Specifically, I'm getting an ImportError related to JPype when I attempt to import optapy. Here are the details of the error:
File "", line 1, in
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\optapy_init_.py", line 11, in
from .annotations import *
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\optapy\annotations.py", line 1, in
import jpype
File "C:\Users\admin\Desktop\optapyTest\optapy-env\lib\site-packages\jpype_init_.py", line 18, in
import _jpypeImportError: DLL load failed while importing _jpype: The specified module could not be found.
Operating System: (e.g., Windows 11)
Python Version: ( Python 3.9.10)
Java Version: (openjdk 21.0.3 2024-04-)
The text was updated successfully, but these errors were encountered: