Reputation: 153
When I try to uprgrade I get this:
Complete output from command python setup.py egg_info: ============================================================================ Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [2.6.6 (r266:84292, Nov 21 2013, 10:50:32) [GCC
4.4.7 20120313 (Red Hat 4.4.7-4)]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
Requires numpy 1.6 or later to build. (Found 1.4.1)
But I've already updated numpy to 1.9.2
EDIT: The updated numpy is in /usr/lib/python2.6/site-packages/numpy The old numpy is in /usr/share/doc/numpy-1.4.1
pip show numpy gives me
Metadata-Version: 2.0 Name: numpy Version: 1.9.2 Summary: NumPy: array processing for numbers, strings, records, and objects. Home-page: http://www.numpy.org Author: NumPy Developers Author-email: [email protected] License: BSD Location: /usr/lib/python2.6/site-packages Requires: [root@acnlin19 rogers]#
Upvotes: 1
Views: 1010
Reputation: 34657
pip install -U numpy
pip install matplotlib
These two comadns should sort you. Run as root if you aren't using a virtualenv.
Upvotes: 1
Reputation: 1545
It is still detecting your old numpy version. I think you need to add path to numpy in PYTHONPATH environment variable
Upvotes: 0