[Python-modules-team] Bug#497786: python-numpy: import numpy fails for python 2.5
Kumar Appaiah
a.kumar at alumni.iitm.ac.in
Thu Sep 4 18:54:35 UTC 2008
On Thu, Sep 04, 2008 at 08:15:55PM +0200, Ondrej Certik wrote:
> > So, Ondrej, I guess we really can't trace the bug again unless someone
> > else encounters it. So, in the mean while, I would request you to
> > consider closing this bug.
>
> Well, that's definitely the easy way and since I am very busy now, I am +1. :)
>
> But what we could (and imho should) do is to install etch chroot,
> install python-numpy and then upgrade to lenny. If that works, close
> this bug. If it doesn't work, fix it, because it is still imho a
> problem.
OK, so I did it. I used debootstrap, created an Etch with numpy,
dist-upgraded to Lenny and ran numpy tests again:
<tests>
bluemoon:/# python
Python 2.5.2 (r252:60911, Aug 6 2008, 09:17:29)
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test()
Numpy is installed in /usr/lib/python2.5/site-packages/numpy
Numpy version 1.1.0
Python version 2.5.2 (r252:60911, Aug 6 2008, 09:17:29) [GCC 4.3.1]
Found 3/3 tests for numpy.core.tests.test_errstate
Found 2/2 tests for numpy.core.tests.test_ufunc
Found 286/286 tests for numpy.core.tests.test_multiarray
Found 7/7 tests for numpy.core.tests.test_scalarmath
Found 143/143 tests for numpy.core.tests.test_regression
Found 18/18 tests for numpy.core.tests.test_defmatrix
Found 63/63 tests for numpy.core.tests.test_unicode
Found 36/36 tests for numpy.core.tests.test_numerictypes
Found 16/16 tests for numpy.core.tests.test_umath
Found 70/70 tests for numpy.core.tests.test_numeric
Found 3/3 tests for numpy.core.tests.test_memmap
Found 12/12 tests for numpy.core.tests.test_records
Found 5/5 tests for numpy.distutils.tests.test_misc_util
Found 4/4 tests for numpy.distutils.tests.test_fcompiler_gnu
Found 3/3 tests for numpy.fft.tests.test_helper
Found 2/2 tests for numpy.fft.tests.test_fftpack
Found 49/49 tests for numpy.lib.tests.test_shape_base
Found 10/10 tests for numpy.lib.tests.test_arraysetops
Found 1/1 tests for numpy.lib.tests.test_regression
Found 15/15 tests for numpy.lib.tests.test_twodim_base
Found 4/4 tests for numpy.lib.tests.test_polynomial
Found 6/6 tests for numpy.lib.tests.test_index_tricks
Found 5/5 tests for numpy.lib.tests.test_getlimits
Found 43/43 tests for numpy.lib.tests.test_type_check
Found 1/1 tests for numpy.lib.tests.test_ufunclike
Found 1/1 tests for numpy.lib.tests.test_machar
Found 53/53 tests for numpy.lib.tests.test_function_base
Found 1/1 tests for numpy.lib.tests.test_financial
Found 15/15 tests for numpy.lib.tests.test_io
Found 24/24 tests for numpy.lib.tests.test__datasource
Found 3/3 tests for numpy.linalg.tests.test_regression
Found 89/89 tests for numpy.linalg.tests.test_linalg
Found 15/15 tests for numpy.ma.tests.test_extras
Found 36/36 tests for numpy.ma.tests.test_old_ma
Found 94/94 tests for numpy.ma.tests.test_core
Found 17/17 tests for numpy.ma.tests.test_mrecords
Found 4/4 tests for numpy.ma.tests.test_subclassing
Found 7/7 tests for numpy.tests.test_random
Found 16/16 tests for numpy.testing.tests.test_utils
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./usr/lib/python2.5/site-packages/numpy/distutils/cpuinfo.py:109: UserWarning: [Errno 2] No such file or directory: '/proc/cpuinfo'
warnings.warn(str(e), UserWarning)
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1270 tests in 1.195s
OK
<unittest._TextTestResult run=1270 errors=0 failures=0>
>>>
</tests>
Therefore, Juha, there must have been a system specific problem, I
presume.
Please tell me if I can do anything else to help spot the
bug. Otherwise, I think it would be best to close this bug and reopen
it the next time you spot it.
Thanks.
Kumar
--
Kumar Appaiah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20080904/8ca020b6/attachment-0001.pgp
More information about the Python-modules-team
mailing list