The import scipy line runs without any problem which means I have successfully imported the module to the Abaqus Python environment.įrom scipy.optimize import curve_fit throws the following ImportError: ImportError: failed to import So when I add the above to my script 2 things happen: Print(str(scipy._path_) + ' - ' + str(scipy._version_)) Print(str(numpy._path_) + ' - ' + str(numpy._version_)) I am doing all this in a very strict environment (no moving around of folders at installation directories) I want to be able to run a python script, executed with abaqus cae nogui=makro.py, so that I can have access to scipy as well. The Abaqus that I run has a pre-installed library (numpy) which has version 1.6.2 This is the only pre-installed module which is present as an "addon" for Abaqus (other than the native Abaqus CAE libraries).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |