Sridhar Ratnakumar wrote:
For numpy you only need to use the pre-built ATLAS libraries (see scipy 
installation document) on windows 32-bit (for 64-bit, you will need the 
proprietary MKL to build atlas), and build atlas yourself on linux. In both 
cases, setup.cfg has to be modified to point to these ATLAS libraries. ATLAS 
will be statically linked.

As another tack, I tried, as I'm on Ubuntu 8.04LTS:

sudo apt-get build-dep python-numpy

bin/easy_install bin/easy_install numpy

...which left me with:

Installed .../lib/python2.5/site-packages/numpy-1.4.1-py2.5-linux-x86_64.egg
Processing dependencies for numpy
Finished processing dependencies for numpy
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
File "/tmp/easy_install-TFDAD2/numpy-1.4.1/numpy/distutils/misc_util.py", line 248, in clean_up_temporary_directory
SystemError: Parent module 'numpy.distutils' not loaded
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
File "/tmp/easy_install-TFDAD2/numpy-1.4.1/numpy/distutils/misc_util.py", line 248, in clean_up_temporary_directory
SystemError: Parent module 'numpy.distutils' not loaded

...and yet:

$ bin/python
Python 2.5.2 (r252:60911, Jan 20 2010, 23:14:04)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>

Any idea what those weird atexit handlers are supposed to do?!

Chris

PS: I would ask on the numpy or scipy mailing list if I could ever succeed in joining them...

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to