Should I take care of "could not determine Graal.Python's *** path"? #535
Replies: 3 comments
-
It's definitely a problem, but you shouldn't set the paths manually, GraalPy should be able to find them. How do you execute GraalPy and how did you create the virtualenv? And what GraalPy version is this? |
Beta Was this translation helpful? Give feedback.
-
Thanks. Good to know. I already thought that graalpy should be able to figure out the paths.
And I execute the Java project with graalvm-ce-23.0.2. I setup the engine and the context manually in my project. |
Beta Was this translation helpful? Give feedback.
-
Meanwhile I'm confused and a bit desperate. Probably I'm doing something wrong, but I don't see it. I have now created a simple projecte where I do basically the same as in my real project. I'm using, as said
As JVM I'm using the latest graalvm-jdk-24.0.2+11.1 First, I should say that now in the sample project are initialised, but still not in my real project even though I have the same configuration, I think:
But still can't use numpy. The only numpy version I can install using pip is 1.26.4. But when importing it I get the error:
Installation of later numpy versions like 2.2.4, already the package installation fails.
I have the folder where the patch.exe is located on the PATH. I'm testing this with the following command and the patch window is shown. new ProcessBuilder("cmd", "/c", "patch.exe").start() Strangely I don't get the _add_dll_directory error here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I enable verbose logging, I see the following lines:
I wonder If I should worry about and set the paths explicitly? And which paths are those?
Beta Was this translation helpful? Give feedback.
All reactions