[Numpy-discussion] still having numpy installation issues

Bruce Southey bsouthey at gmail.com
Mon Aug 23 16:00:43 EDT 2010


  On 08/23/2010 02:37 PM, martin djokovic wrote:
>
> I tried to find all the numpy locations and removed them then tried....
>
>
> yum install numpy
>
>
> After trying for s few minutes.......got the following
>
>
> Error: Cannot find a valid baseurl for repo: extras
>
>
>
> If I install the other way using the tar file ...I still get
>
>
> >>>  import numpy
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>    File "/usr/local/lib/python2.4/site-packages/numpy/__init__.py", line 144, in ?
>      import fft
>
>    File "/usr/local/lib/python2.4/site-packages/numpy/fft/__init__.py", line 4, in ?
>      from fftpack import *
>    File "/usr/local/lib/python2.4/site-packages/numpy/fft/fftpack.py", line 28, in ?
>
>      import fftpack_lite as fftpack
> ImportError: /usr/local/lib/python2.4/site-packages/numpy/fft/fftpack_lite.so: undefined symbol: vmldCos2
>
>
> I tried looking for missing libraries using...
>
> ldd fft/fftpack_lite.so
>
> No libraries missing......
>
> linux-gate.so.1 =>  (0x0060d000)
>
> libimf.so =>  /opt/intel/fc/9.1/lib/libimf.so (0x0025e000)
>
> libm.so.6 =>  /lib/libm.so.6 (0x00110000)
>
> libgcc_s.so.1 =>  /lib/libgcc_s.so.1 (0x00bad000)
>
>
> libirc.so =>  /opt/intel/fc/9.1/lib/libirc.so (0x00ecc000)
>
> libc.so.6 =>  /lib/libc.so.6 (0x0049c000)
>
> libdl.so.2 =>  /lib/libdl.so.2 (0x008fd000)
>
> /lib/ld-linux.so.2 (0x00243000)
>
> checked the path to python for both root and user-made an alias in 
> both to refer to same python
>
>
> Nothing seems to work-if you guys have any more ideas I would love to 
> hear them-I am stuck here amd cannot move ahead and no one in my 
> office who can help-so your help is much appreciated.
>
>
>
> I am also wondering if you need to scipy or biopython to use numpy???
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
The issue is that you have not removed all numpy locations because you 
are not looking in the correct places. So you really must find which 
python is being used as a normal user and as root such as using the 
'which python' command as both a normal user and as root.

You clearly have a numpy here '/usr/local/lib/python2.4/site-packages/numpy'

You need to remove that directory (and all contents of it) as root 
(because of the permissions).

But you need to know which python is being used before reinstalling and use that one for the installation.


You need numpy for both scipy and biopython so those will not help you.

Bruce


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100823/212e14d7/attachment.html>


More information about the NumPy-Discussion mailing list