numpy-0.9.5 build is not clean
Hi, I am trying to build numpy-0.9.5, downloaded from sourceforge download page, as higher versions are not yet tested for pygsl. The build seems to be broken. I uninstall existing numpy and start build from scratch but I get the following errors when I import numpy after install. ====
from numpy import * import core -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 import random -> failed: 'module' object has no attribute 'dtype' import linalg -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 ====
Any help is appreciated. Am I doing something wrong or is it known that this build is broken? thanks, Krishna.
Dear Krishna, it looks like there are some mixed versions of numpy floating around on your system. Before building, remove the "build" directory completely. Krishna Mohan Gundu wrote:
Hi,
I am trying to build numpy-0.9.5, downloaded from sourceforge download page, as higher versions are not yet tested for pygsl. The build seems to be broken. I uninstall existing numpy and start build from scratch but I get the following errors when I import numpy after install.
====
from numpy import *
import core -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 import random -> failed: 'module' object has no attribute 'dtype' import linalg -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 ====
Any help is appreciated. Am I doing something wrong or is it known that this build is broken?
thanks, Krishna.
------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Dear Andrew, Thanks for your reply. As I said earlier I deleted the existing numpy installation and the build directories. I am more than confidant that I did it right. Is there anyway I can prove myself wrong? I also tried importing umath.so from build directory === $ cd numpy-0.9.5/build/lib.linux-x86_64-2.4/numpy/core $ ls -l umath.so -rwxr-xr-x 1 krishna users 463541 May 22 17:46 umath.so $ python Python 2.4.3 (#1, Apr 8 2006, 19:10:42) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import umath Traceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: module compiled against version 90500 of C-API but this version of numpy is 90504
===
So something is wrong with the build for sure. Could there be anything wrong other than not deleting the build directory? thanks, Krishna. On 5/24/06, Andrew Straw <strawman@astraw.com> wrote:
Dear Krishna, it looks like there are some mixed versions of numpy floating around on your system. Before building, remove the "build" directory completely.
Krishna Mohan Gundu wrote:
Hi,
I am trying to build numpy-0.9.5, downloaded from sourceforge download page, as higher versions are not yet tested for pygsl. The build seems to be broken. I uninstall existing numpy and start build from scratch but I get the following errors when I import numpy after install.
====
from numpy import *
import core -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 import random -> failed: 'module' object has no attribute 'dtype' import linalg -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 ====
Any help is appreciated. Am I doing something wrong or is it known that this build is broken?
thanks, Krishna.
------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Dear Andrew, I forgot to delete the include files from the previous installation, which I installed manually by copying the include files. Sorry for the trouble. Hope this helps someone, if (s)he does the same mistake as mine. cheers, Krishna. On 5/24/06, Krishna Mohan Gundu <gkmohan@gmail.com> wrote:
Dear Andrew,
Thanks for your reply. As I said earlier I deleted the existing numpy installation and the build directories. I am more than confidant that I did it right. Is there anyway I can prove myself wrong?
I also tried importing umath.so from build directory === $ cd numpy-0.9.5/build/lib.linux-x86_64-2.4/numpy/core $ ls -l umath.so -rwxr-xr-x 1 krishna users 463541 May 22 17:46 umath.so $ python Python 2.4.3 (#1, Apr 8 2006, 19:10:42) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import umath Traceback (most recent call last): File "<stdin>", line 1, in ? RuntimeError: module compiled against version 90500 of C-API but this version of numpy is 90504
===
So something is wrong with the build for sure. Could there be anything wrong other than not deleting the build directory?
thanks, Krishna.
On 5/24/06, Andrew Straw <strawman@astraw.com> wrote:
Dear Krishna, it looks like there are some mixed versions of numpy floating around on your system. Before building, remove the "build" directory completely.
Krishna Mohan Gundu wrote:
Hi,
I am trying to build numpy-0.9.5, downloaded from sourceforge download page, as higher versions are not yet tested for pygsl. The build seems to be broken. I uninstall existing numpy and start build from scratch but I get the following errors when I import numpy after install.
====
from numpy import *
import core -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 import random -> failed: 'module' object has no attribute 'dtype' import linalg -> failed: module compiled against version 90504 of C-API but this version of numpy is 90500 ====
Any help is appreciated. Am I doing something wrong or is it known that this build is broken?
thanks, Krishna.
------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
participants (2)
-
Andrew Straw
-
Krishna Mohan Gundu