[SciPy-User] problems with build
Chris Withers
chris at simplistix.co.uk
Tue May 4 07:00:05 EDT 2010
Hi All,
Now that I've finally managed to subscribe to this list, I haev a
question about installation of numpy and scipy.
So, I tried this to get the latest numpy installed on an Ubuntu box:
sudo apt-get build-dep python-numpy
Then, inside the virtual_env I'm working in:
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?!
They seem to fire not only when numpy is installed but also when
anything that depends on numpy is installed...
cheers,
Chris
More information about the SciPy-User
mailing list