JDBC connection error using pyodbc

Hi,
Using Hopsworks jupyter notebook I am getting below error while establishing connection to local Oracle DB using pyodbc whereas with local phyton installation, I am able to establish connection to local Oracle database. Could you please help with this. are there any additional lib required ?

Error:
Error: (‘01000’, “[01000] [unixODBC][Driver Manager]Can’t open lib ‘Oracle in OraDB19Home2’ : file not found (0) (SQLDriverConnect)”)

Thanks and Regards,
Sangeetha B

Thanks and Regards,
Sangeetha B