when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs

hi, when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs I tried to install numpy from PYPI where 1.5.1 seesm to be present, but somehow it involves 1.3.0 instead: $ sudo easy_install numpy install_dir /usr/local/lib/python2.6/dist-packages/ Searching for numpy Best match: numpy 1.3.0 Adding numpy 1.3.0 to easy-install.pth file only after aptitude remove python-numpy version 1.5.1. is involved by easy_install, but it fails: $ sudo easy_install numpy .... Adding numpy 1.5.1 to easy-install.pth file Installing f2py script to /usr/local/bin Installed /usr/local/lib/python2.6/dist-packages/numpy-1.5.1-py2.6-linux-x86_64.egg Processing dependencies for numpy Finished processing dependencies for numpy /tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py:251: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory ImportError: No module named numpy.distutils Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory ImportError: No module named numpy.distutils I have Linux KUBUNTU 10.10 D.

Isnt [K]Ubuntu updated each 6 month? 2011/3/24 Dmitrey <tmp50@ukr.net>:
hi, when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs
There will always be bugs, but numpy 1.3 is a stable release, unless there is a bug that affects what your doing right now? If you find a bug that prevents you from from your specific work, better report that bug, if you haven't already.
I tried to install numpy from PYPI where 1.5.1 seesm to be present, but somehow it involves 1.3.0 instead:
$ sudo easy_install numpy install_dir /usr/local/lib/python2.6/dist-packages/ Searching for numpy Best match: numpy 1.3.0 Adding numpy 1.3.0 to easy-install.pth file
only after aptitude remove python-numpy version 1.5.1. is involved by easy_install, but it fails:
$ sudo easy_install numpy .... Adding numpy 1.5.1 to easy-install.pth file Installing f2py script to /usr/local/bin
Installed /usr/local/lib/python2.6/dist-packages/numpy-1.5.1-py2.6-linux-x86_64.egg Processing dependencies for numpy Finished processing dependencies for numpy /tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py:251: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
I see an *absolute* import, maybe easy_install is different from where ubuntu expects numpy to be installed? i think the folder distutils is specific for ubuntu ? try and remove manually the egg in /usr/local/lib/python2.6/dist-packages/numpy-1.5.1-py2.6-linux-x86_64.egg then do $ sudo easy_install -U numpy -U is for update, maybe you have to run without -U first?
Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory ImportError: No module named numpy.distutils Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory ImportError: No module named numpy.distutils
I have Linux KUBUNTU 10.10
D.
Good question.. ? easy_install should be distribution non-specific(as far as i know) see also this thread, even though its old. (late 2009) http://old.nabble.com/numpy-1.3.0-eggs-with-python2.6-seem-broken-on-osx,-an... so maybe then download only the egg(with easy_install), then enter the folder and do sudo python2.6 setup.py install Dont you have python 2.7 also on ubuntu? regards mic

Isnt [K]Ubuntu updated each 6 month? 2011/3/24 Dmitrey < tmp50@ukr.net >: > hi, > when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs There will always be bugs, but numpy 1.3 is a stable release, unless there is a bug that affects what your doing right now? If you find a bug that prevents you from from your specific work, better report that bug, if you haven't already. > I tried to install numpy from PYPI where 1.5.1 seesm to be present, but > somehow it involves 1.3.0 instead: > > $ sudo easy_install numpy > install_dir /usr/local/lib/python2.6/dist-packages/ > Searching for numpy > Best match: numpy 1.3.0 > Adding numpy 1.3.0 to easy-install.pth file > > only after aptitude remove python-numpy version 1.5.1. is involved by > easy_install, but it fails: > > $ sudo easy_install numpy > .... > Adding numpy 1.5.1 to easy-install.pth file > Installing f2py script to /usr/local/bin > > Installed > /usr/local/lib/python2.6/dist-packages/numpy-1.5.1-py2.6-linux-x86_64.egg > Processing dependencies for numpy > Finished processing dependencies for numpy > /tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py:251: > RuntimeWarning: Parent module 'numpy.distutils' not found while handling > absolute import I see an *absolute* import, maybe easy_install is different from where ubuntu expects numpy to be installed? i think the folder distutils is specific for ubuntu ? try and remove manually the egg in /usr/local/lib/python2.6/dist-packages/numpy-1.5.1-py2.6-linux-x86_64.egg then do $ sudo easy_install -U numpy -U is for update, maybe you have to run without -U first? > Error in atexit._run_exitfuncs: > Traceback (most recent call last): > File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", > line 251, in clean_up_temporary_directory > ImportError: No module named numpy.distutils > Error in sys.exitfunc: > Traceback (most recent call last): > File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/tmp/easy_install-QF6uJM/numpy-1.5.1/numpy/distutils/misc_util.py", > line 251, in clean_up_temporary_directory > ImportError: No module named numpy.distutils > > I have Linux KUBUNTU 10.10 > > D. Good question.. ? easy_install should be distribution non-specific(as far as i know) see also this thread, even though its old. (late 2009) http://old.nabble.com/numpy-1.3.0-eggs-with-python2.6-seem-broken-on-osx,-an... so maybe then download only the egg(with easy_install), then enter the folder and do sudo python2.6 setup.py install Dont you have python 2.7 also on ubuntu? regards mic _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion Thanks for all those instructions, however, personally I don't need them, I have sucseeded with my own manipulations and even if I wouldn't I always can build numpy/scipy from sources. I mere care for quality and easibility of numpy installation for ordinary non-skilled users. They may just try installation, see that it's buggy and move away to use another soft. D.

Thanks for all those instructions, however, personally I don't need them, I have sucseeded with my own manipulations and even if I wouldn't I always can build numpy/scipy from sources. I mere care for quality and easibility of numpy installation for ordinary non-skilled users. They may just try installation, see that it's buggy and move away to use another soft.
Rest assured that "non-ordinary" users like me also get irritated when we have to do extra work to get something to work/install when we want to try something out, its a waste of our time and resources if we have to do it often. Those problems might "always" be there in some degree, i have numpy installed on debian, fedora, and archlinux. Where there was no problems with the easy_install or package system install on those system (this time) But it will always happen at some time or another (as it did for me with install of other software via easy_install, rst2pdf and sphinx comes to mind) But that is a bug with the installation system not with the numpy package(you said 1.3.1 nupy had many bugs !?). A new user might move on to something other, but the reality is that problems like that crop up at some time, unless you have relatively static install. If the user moves on then he probably doesnt have a specific need for numpy, but just for something that can do the same job for his task. (it's unfortunate that he/we can't try it out without messing about).
D.
mic

On 24/03/11 10:00, Dmitrey wrote:
hi, when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs
I have Linux KUBUNTU 10.10
D.
(k)ubuntu 11.04 (to be released in april) will have at numpy 1.5.1 (or possible newer) https://launchpad.net/ubuntu/+source/python-numpy also scipy will go from 0.7.2 -> 0.8.0 and python itself from 2.6.6 -> 2.7.1 sam

2011/3/24 Dmitrey <tmp50@ukr.net>:
hi, when numpy in Linux apt will be updated? It's still 1.3.0 with many bugs
We do not decide what Ubuntu and/or debian are putting into their release. You should send bug report to those distributions bug trackers if you want to see things improve for those distributions. cheers, David
participants (4)
-
David Cournapeau
-
Dmitrey
-
Mic J
-
sam tygier