IllegalArgumentException: requirement failed: License Key not set please set environment variable JSL_NLP_LICENSE,SPARK_NLP_LICENSE,SPARK_OCR_LICENSE,JSL_LEGAL_LICENSE,JSL_FINANCE_LICENSE or property jsl.settings.license!
memanu347 opened this issue · 1 comments
memanu347 commented
Description
while trying to install and use sparknlp library am facing this issue
IllegalArgumentException: requirement failed: License Key not set please set environment variable JSL_NLP_LICENSE,SPARK_NLP_LICENSE,SPARK_OCR_LICENSE,JSL_LEGAL_LICENSE,JSL_FINANCE_LICENSE or property jsl.settings.license!
and in my license file i only have SPARK_NLP_LICENSE and not others.
Steps to Reproduce
Your Environment
- Spark-NLP version:4.2.4
- Apache Spark version:3.1.2
- Operating System and version:ubuntu 20.04
- Deployment (Docker, Jupyter, Scala, pip, conda, etc.): Pip
Cabir40 commented
@memanu347
You also need to set SPARK_NLP_LICENSE and AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY keys as environmental variables. Also, make sure your license is valid.