<div id="mb_0">I am trying to install the linear algebra package from
the NumPy package and i keep getting this error. I have the most recent
version of numpy <a href="http://1.0.3.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.0.3.1</a>.<a href="http://python-forum.org/py/viewtopic.php?t=5234" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a><br><br>this is the error
<br>

<br>
Traceback (most recent call last):
<br>
File "C:\Python25\lib\site-packages\numpy\linalg\setup.py", line 31, in <module>
<br>
setup(configuration=configuration)
<br>
File "C:\Python25\Lib\site-packages\numpy\distutils\core.py", line 113, in setup
<br>
return setup(**attr)
<br>
File "C:\Python25\Lib\site-packages\numpy\distutils\core.py", line 173, in setup
<br>
return old_setup(**new_attr)
<br>
File "C:\Python25\lib\distutils\core.py", line 168, in setup
<br>
raise SystemExit, "error: " + str(msg)
<br>
SystemExit: error: Python was built with Visual Studio 2003;
<br>
extensions must be built with a compiler than can generate compatible binaries.
<br>
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
<br>
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.<br><br><br>However, I was told that the reason I am getting this error is because the linear algebra module is already installed yet it dosn't seem to be becaues when I exectue the following commands i get these error messages. Am I doing someting wrong I have only been using python two days.
<br><br><br>>>> from numpy import *<br>>>> from linalg import *<br><br>Traceback (most recent call last):<br>  File "<pyshell#1>", line 1, in <module><br>    from linalg import *<br>
ImportError: No module named linalg<br>>>> a = reshape(arange(25.0), (5,5)) + identity(5)<br>>>> print a<br>[[  1.   1.   2.   3.   4.]<br> [  5.   7.   7.   8.   9.]<br> [ 10.  11.  13.  13.  14.]<br> [ 15.  16.  17.  19.  19.]
<br> [ 20.  21.  22.  23.  25.]]<br>>>> inv_a = inverse(a)<br><br>Traceback (most recent call last):<br>  File "<pyshell#4>", line 1, in <module><br>    inv_a = inverse(a)<br>NameError: name 'inverse' is not defined
<br>>>> <br><br><br>Thank you for any help you can provide.<br></div>