trying to import jpype in AWS lambda function #1103
-
[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named '_jpype' I checked the jpype folder and saw that init.py file has a statement "import _jpype" Version is 1.4.1 in the init file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
All of the wheels ship with JPype install requires |
Beta Was this translation helpful? Give feedback.
Hi @vigneshr3212
What is the lambda version you are using?
Error : jpype._jvmfinder.JVMNotFoundException: No JVM shared library file (jvm.dll) found. Try setting up the JAVA_HOME environment variable properly.
Resolution :
So in order to make it work you'll have to write a code that will install the jvm and then use it or maybe use an instance with lambda python 3.7.