I get a popup window that says “Runtime Error! Program: C:\… R6034 An application has made an attempt to load the C runtime library incorrectly.” when running the following lines of Python code in Abaqus:

from scipy.interpolate import NearestNDInterpolator

from scipy.spatial import KDTree

When I close the error window, ABAQUS tells me that:

File "C:\SIMULIA\EstProducts\2022\win_b64\tools\SMApy\python2.7\lib\site-packages\scipy\__init__.py", line 119, in

from scipy._lib._ccallback import LowLevelCallable

File "C:\SIMULIA\EstProducts\2022\win_b64\tools\SMApy\python2.7\lib\site-packages\scipy\_lib\_ccallback.py", line 1, in

from . import _ccallback_c

ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

I have already tried uninstalling and reinstalling the C++ packages, double-checking that the correct version of Scipy is being used for Python 2.7.15 (ABAQUS 2022) and ensuring that the file is on the correct path/directory.

Has anyone else ever had this error or has troubleshooting advice?

Thanks!

More Maggie Chong's questions See All
Similar questions and discussions