'ModuleNotFoundError: No module named 'java'
In my Python notebook in Azure Databricks, the following import statement gives the error shown below. It seems I am missing some package.
What package am I missing, and how can I install it?
Ref: This post. Please note this linked post is using Scala, but I am using Python as I don't know Scala.
import java.sql.DriverManager
Error:
ModuleNotFoundError: No module named 'java'
Solution 1:[1]
You can install java python with following command:
pip install java
After the installation of java python library, ModuleNotFoundError: No module named 'java' error will be solved.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | AbhishekKhandave-MT |
