[Bug 495537] Re: numpy headers in the include path

Julian Taylor jtaylor.debian at googlemail.com
Sat Apr 13 10:34:47 UTC 2013


this should be fixed in recent distributions.

** Changed in: python-numpy (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-numpy in Ubuntu.
https://bugs.launchpad.net/bugs/495537

Title:
  numpy headers in the include path

Status in “python-numpy” package in Ubuntu:
  Fix Released

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/varoquau/usr/lib/python2.6
  /site-packages/numpy/core/include -I/usr/include/python2.6 -c'

  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://mail.scipy.org/pipermail/numpy-discussion/2009-December/047376.html

  With the release of numpy 1.4, this problem will become especially
  crucial, as picking up the wrong header leads to binary
  incompatibilities.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/495537/+subscriptions




More information about the foundations-bugs mailing list