I am trying to run python from Java/Kotlin. The python script worked correctly when running on graalpython in command prompt. However, when I Run inside Java/Kotlin, it throws LLVMPolyglotException: Cannot read from index 0 of polyglot value. In my python file I didn't do anything except import numpy, didn't actually used the lib.
My apologies for doing screenshot instead of putting the codes here.
I am trying to run python from Java/Kotlin. The python script worked correctly when running on graalpython in command prompt. However, when I Run inside Java/Kotlin, it throws LLVMPolyglotException: Cannot read from index 0 of polyglot value. In my python file I didn't do anything except import numpy, didn't actually used the lib.
My apologies for doing screenshot instead of putting the codes here.