Quantcast
Channel: Active questions tagged aws-lambda - Stack Overflow
Viewing all articles
Browse latest Browse all 4012

JDBC connection in a python lambda program using py4j

$
0
0

I am trying to use JDBC connection in a python Lambda function. I uploaded the py4j zip as a layer for this Lambda function. I did import py4j. It says No module named py4j. MY program is to test the JDBC connection. No need to do any SQL queries.

import py4jfrom py4j.java_gateway import java_import

How to fix this error No module named py4j?


Viewing all articles
Browse latest Browse all 4012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>