numpy headers in the include path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-numpy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-numpy
The numpy headers of the Ubuntu are symlinked in /usr/lib. As a result, a Python package compiling with numpy.distutils will always pick up these headers, even if the numpy used is not the system numpy, but a localy installed numpy. Indeed, numpy.distutils will use the following compilation options:
compile options: '-I/usr/include -I/home/
Where the second include path points to the numpy headers of the locally-installed numpy, but is overriden by the general include '/usr/include'.
See the following mailing list discussion for more information:
http://
With the release of numpy 1.4, this problem will become especially crucial, as picking up the wrong header leads to binary incompatibilities.
Gael, thank you for bringing this to our attention. Quickly looking through the posted discussion, am I right in assuming that this is a packaging problem, *not* an upstream problem?