startup problem on internal production system of Delta Barth #33
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
error because of NumPy import which does not seem to be possible
currently digging into this topic with Delta Barth:
system specs for production system:
state 16.06.2025
error message related to NumPy:
DLL load failed while importing _multiarray_umathupdate on 18.06.2025
Plugin is now working. Latest MS Visual C++ Redist package had to be installed on the system: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Delta Barth does not want to install runtimes on their customers' servers.The problem can be fixed by placing the VC-Runtime DLL in the
numpy.libfolder, because this is how Python loads external linked native DLL dependencies on Windows.It is no valid option because there is no clear limit on how many times this DLL needs to be copied in the future, especially for other projects. There is always a risk that a possible import error is missed and the program does not work properly at runtime. Therefore it seems better to enable the Python interpreter to load the needed dependencies from the system's search path.
For more information see the related issue for the base C#-Lib: dopt-SharpPython/dopt-SharpPython#9
Feedback on 27.06.25: The import is now working without copying DLLs to NumPy's lib folder.