You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I followed all the installation steps in the documentation, but it was not enough to get the library working.
Then I had to install the JDK, specify the interpreter and the path to the JDK
importosfromjohnsnowlabsimportnlpos.environ["PYSPARK_DRIVER_PYTHON"] ="D:\\myproject\\nlp_command\\.venv\\Scripts"os.environ["JAVA_HOME"] ="C:\\Program Files\\Java\\jdk-20"pipeline=nlp.load('sentiment')
# pipeline.predict("I love this Documentation! It's so good!")
But I'm still getting the "Java gateway process exited before sending its port number" error.
Platform - windows 10
java version "20.0.2" 2023-07-18
Java(TM) SE Runtime Environment (build 20.0.2+9-78)
Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)
The text was updated successfully, but these errors were encountered:
Hello, I followed all the installation steps in the documentation, but it was not enough to get the library working.
Then I had to install the JDK, specify the interpreter and the path to the JDK
But I'm still getting the "Java gateway process exited before sending its port number" error.
Platform - windows 10
java version "20.0.2" 2023-07-18 Java(TM) SE Runtime Environment (build 20.0.2+9-78) Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: