Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Wrong __version__numpy__ #1542

Closed
torquil opened this Issue · 1 comment

2 participants

torquil Michael Droettboom
torquil

When I install matplotlib using "python build setup.py" and "python install --prefix=...", one of the first lines of output in both cases is:

numpy: 1.6.2

I also have numpy 1.4 (system-wide, I am not root) and numpy 1.6.2 (home folder) installed but it is the 1.6.2 version that is used by python since I have adjusted PYTHONPATH:

$ python

import numpy
numpy.version
'1.6.2'

This is the numpy version that I want to use. However, after installing matplotlib 1.2.0, I get

$ python

import matplotlib
matplotlib.version
'1.2.0'
matplotlib.version__numpy
'1.4.0'

Why is matplotlib not using my numpy 1.6.2, when python itself is using it, and matplotlib detected numpy 1.6.2 during the build and install?

Michael Droettboom
Owner

__version__numpy__ specifies the minimum version of numpy required by matplotlib, not the version of the currently installed numpy. To get that, as you show, use numpy.__version__.

Closing. Feel free to reopen if I misunderstood the question.

Michael Droettboom mdboom closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.