-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
With version 24.1.2 I also got this error above when importing numpy on Windows.
With version 24.2.2 I now get the following error:org.eomasters.pyrun.PyRunnerException: org.graalvm.polyglot.PolyglotException: ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. at org.eomasters.pyrun.PyRunner.run(PyRunner.java:30) at org.eomasters.pyeditor.gui.PyEditor.onRun(PyEditor.java:479)
The used version is the only difference between the execution.
Originally posted by @eomasters-repos in #493
Numpy on Windows cannot load DLLs from its libs
directory. It seems that the _add_dll_directory
function doesn't work. Adding the libs
directory to PATH
makes the problem disappear.
Metadata
Metadata
Assignees
Labels
No labels