[Numpy-discussion] Numpy1.0.1 installation problem - urgent :(

Yang, Lu lyang@unb...
Mon Feb 19 06:51:07 CST 2007


Thanks so much. It works.

Lu


Quoting Brian Granger <ellisonbg.net@gmail.com>:

> I don't run numpy no linux often, but you shouldn't have any trouble.
> I would do the following:
> 
> 1.  Blast your current numpy install
> 
> rm -rf /usr/local/lib/python2.5/site-packages/numpy
> 
> 2.  Get the lastest svn version
> 
> cd $HOME
> svn co http://svn.scipy.org/svn/numpy/trunk numpy
> 
> 3.  Try doing a fresh install (starting from $HOME):
> 
> cd numpy
> python setup.py build
> sudo python setup.py install
> 
> Let us know if that helps.
> 
> Brian
> 
> On 2/14/07, lu yang <lu.yangunb@gmail.com> wrote:
> > Hi,
> > This is the first time I install Numpy on a linux machine. I have been
> > working on it for several days without luck. I sincerely appreciate if
> > anybody can give any comments. My OS is Red Hat 8.
> > I have downloaded Python 2.5 and Numpy 1.0.1. Python 2.5 has been installed
> > on my machine. However, when I type:
> > "python2.5 setup.py install" to install Numpy in my home directory
> > /home/o6c11/numpy-1.0.1 , I got:
> >
> > [o6c11@chorus numpy-1.0.1]$ python2.5 setup.py install
> > Traceback (most recent call last):
> >   File "setup.py", line 89, in <module>
> >     setup_package()
> >   File "setup.py", line 59, in setup_package
> >     from numpy.distutils.core import setup
> >   File "numpy/__init__.py", line 36, in <module>
> >     import core
> >   File "/mnt/storage/home/o6c11/numpy-1.0.1/numpy/core/__init__.py", line 5,
> > in <module>
> >     import multiarray
> > ImportError: No module named multiarray
> >
> > I changed the directory to
> > /usr/local/lib/python2.5/site-packages/numpy, I got:
> >
> > [o6c11@chorus numpy]$ python2.5 setup.py install
> > Traceback (most recent call last):
> >   File "setup.py", line 28, in <module>
> >     from numpy.distutils.core import setup
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/__init__.py",
> > line 40, in <module>
> >     import linalg
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/linalg/__init__.py",
> > line 4, in <module>
> >     from linalg import *
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/linalg/linalg.py",
> > line 25, in <module>
> >     from numpy.linalg import lapack_lite
> > ImportError: /usr/lib/libblas.so.3: undefined symbol: e_wsfe
> >
> > I also tried to import numpy in this way:
> >
> > [o6c11@chorus numpy]$ python2.5
> > Python 2.5 (r25:51908, Feb 12 2007, 22:36:33)
> > [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import numpy
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in <module>
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/__init__.py",
> > line 40, in <module>
> >     import linalg
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/linalg/__init__.py",
> > line 4, in <module>
> >     from linalg import *
> >   File
> > "/usr/local/lib/python2.5/site-packages/numpy/linalg/linalg.py",
> > line 25, in <module>
> >     from numpy.linalg import lapack_lite
> > ImportError: /usr/lib/libblas.so.3: undefined symbol: e_wsfe
> > >>>
> >
> > I have no idea how to solve these problems. Please help a newbie. Thanks a
> > lot.
> > _______________________________________________
> > Numpy-discussion mailing list
> > Numpy-discussion@scipy.org
> > http://projects.scipy.org/mailman/listinfo/numpy-discussion
> >
> >
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
> 





More information about the Numpy-discussion mailing list