[SciPy-User] problems with build
Chris Withers
chris at simplistix.co.uk
Thu May 13 05:05:48 EDT 2010
It's been almost a week, does no-one want to shed any light on this?
(and even longer, trying again now the lists are fixed)
Chris
Chris Withers wrote:
> 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
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the SciPy-User
mailing list