alan14
Mechanical
- Feb 26, 2006
- 13
hello all,
I am using a python script in order to calculate the angle of the maximum principle stress. To do so I need the numerical library "numarray" to calculate the eigenvalues and the eigenvectors of the stress matrix. I managed to download the "numarray" library and used it sucessfully outside abaqus, in a python shell. But when i import the library from withing abaqus, the module can not be found. I made sure that the sys.path in abaqus is set to the same one in the python shell.
the command "import numarray " works with no error.
but when i issue, " from nummarray import linear_algebra" i get:
from numarray import linear_algebra
File "C:\Python24\lib\numarray\linear_algebra\__init__.py", line 1, in ?
from LinearAlgebra2 import *
File "C:\Python24\lib\numarray\linear_algebra\LinearAlgebra2.py", line 21, in ?
import numarray.numeric as num
File "C:\Python24\lib\numarray\numeric.py", line 2, in ?
import libnumeric
ImportError: DLL load failed: The specified module could not be found.
this command is working perfectly in a python shell. this is really driving me crazy.
any help?
thx in advance
I am using a python script in order to calculate the angle of the maximum principle stress. To do so I need the numerical library "numarray" to calculate the eigenvalues and the eigenvectors of the stress matrix. I managed to download the "numarray" library and used it sucessfully outside abaqus, in a python shell. But when i import the library from withing abaqus, the module can not be found. I made sure that the sys.path in abaqus is set to the same one in the python shell.
the command "import numarray " works with no error.
but when i issue, " from nummarray import linear_algebra" i get:
from numarray import linear_algebra
File "C:\Python24\lib\numarray\linear_algebra\__init__.py", line 1, in ?
from LinearAlgebra2 import *
File "C:\Python24\lib\numarray\linear_algebra\LinearAlgebra2.py", line 21, in ?
import numarray.numeric as num
File "C:\Python24\lib\numarray\numeric.py", line 2, in ?
import libnumeric
ImportError: DLL load failed: The specified module could not be found.
this command is working perfectly in a python shell. this is really driving me crazy.
any help?
thx in advance