'raise ModuleNotFoundError('No java install detected. Please install java to use language-tool-python.')

I'm trying to install language-tool-python in a virtual environment on Windows 10, and it gets me this error.

raise ModuleNotFoundError('No java install detected. Please install java to use language-tool-python.')
ModuleNotFoundError: No java install detected. Please install java to use language-tool-python.

I tried installing Java8 on my windows and checked the version with PowerShell. I also tried installing JVMand boxsdk in the virtual environment using pip, but it didn't solve the problem. How can I install java in a virtual environment?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source