I can't import konlpy, what should I do with the error?_ 2 No JVM shared library file (jvm.dll) found.

Asked 2 years ago, Updated 2 years ago, 123 views

Inside the terminal

>> jpype.getDefaultJVMPath()
'C:\\Program Files\\Java\\jdk-14.0.1\\bin\\server\\jvm.dll'  

That's what it says.

Inside Jupiter

jpype.getDefaultJVMPath()


ValueError: No JVM shared library file (jvm.dll) found. 
Try setting up the JAVA_HOME environment variable properly.

It says so

C:\Program Files\Java\\jdk-14.0.1 when you install Java I downloaded the module without any errors I don't know why it says jvm.dll not found.

That's what it says. How do I match it?

konlpy java python nlp jupyter

2022-09-20 21:41

1 Answers

Shut down the jupyter.

In the cmd window, do set JAVA_HOME=C:\Program Files\Java\jdk-14.0.1.

Start the jupyter and test it.


2022-09-20 21:41

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.