python/numpy on RHEL6.1 - installed RPMS not compiled from source
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
python/numpy on RHEL6.1 - installed RPMS not compiled from source
Installed python and numpy on clean install of RHEL 6.1. When I run the numpy test script, this is the output:
[root@computer tmp]# python -c 'import numpy ; numpy.test()'
Running unit tests for numpy
NumPy version 1.3.0
NumPy is installed in /usr/lib/python2.6/site-packages/numpy
Python version 2.6.6 (r266:84292, Apr 11 2011, 15:52:27) [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)]
nose version 0.10.4
..........Illegal instruction (core dumped)
I have a support ticket in with RH on this as well.
[knudfl@localhost ~]$ python -c 'import numpy ; numpy.test()'
Running unit tests for numpy
NumPy version 1.3.0
NumPy is installed in /usr/lib64/python2.6/site-packages/numpy
Python version 2.6.5 (r265:79063, Dec 14 2010, 15:24:46) [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)]
nose version 0.10.4
.....................................................................
....................................K................................
.....................................................................
Ran 2021 tests in 16.551s
OK (KNOWNFAIL=1)
Please do not run user commands as root.
Root is for administrative tasks only.
Those programs are all installed...the test fails whether I am root or a regular user, I just happened to be root when I made the post, so I ran the test script to get the text of the output error for this post.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Sorry, for no usable solution.
I did this now : Updated to python 2.6.6-20.el6
Test result : Ran 2021 tests in 15.984s OK (KNOWNFAIL=1)
And then I removed 'python-devel' ( Not required for numpy.)
A new test : Ran 2021 tests in 17.406s OK (KNOWNFAIL=1)
Things to consider : Is one of the 32bits packages corrupt ?
( As you can see, I am using a 64bits OS (= SL6, Scientific Linux.))
I may give the 32bit OS a try tomorrow.
I did this now : Updated to python 2.6.6-20.el6
Test result : Ran 2021 tests in 15.984s OK (KNOWNFAIL=1)
And then I removed 'python-devel' ( Not required for numpy.)
A new test : Ran 2021 tests in 17.406s OK (KNOWNFAIL=1)
Things to consider : Is one of the 32bits packages corrupt ?
( As you can see, I am using a 64bits OS (= SL6, Scientific Linux.))
I may give the 32bit OS a try tomorrow.
..
I have the updated version of python installed (2.6.6-20.el6) and the same version of numpy as well. Oddly enough, it works on two machines, but fails on 3 other machines...all loaded the exact same way. I even tried to clone one of the working machines, and that failed as well. I just tested it on my 64-bit machine... Ran 2021 tests in 11.548s OK (KNOWNFAIL=1) Red Hat says they have it working on 32 and 64 bit machines...I sent them some additional info and they are trying to recreate the issue...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.