It appears that you have two different version of python installed (Apple's
2.7.3 and python.org's 2.7.5). You have to install all third-party packages
to the correct one. It appears pip in acting on Apple's python.


On Fri, Feb 21, 2014 at 2:08 PM, Timothy Duly <timdu...@gmail.com> wrote:

> Hello,
>
> I recently upgraded matplotlib, which was relatively simple:
>
> sudo pip install matplotlib --upgrade
>
> I checked to make sure I did indeed upgrade:
>
> [~]$ python
> Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import matplotlib; matplotlib.__version__
> '1.3.1'
>
> Success.  However, when I do the same in IPython, I get the old version:
>
> [~]$ ipython --pylab
> Python 2.7.5 (default, Aug 25 2013, 00:04:04)
> Type "copyright", "credits" or "license" for more information.
> IPython 1.2.0 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object', use 'object??' for extra details.
> Using matplotlib backend: MacOSX
> In [1]: import matplotlib; matplotlib.__version__
> Out[1]: '1.1.1'
>
> Anyone know why this is the case?  How do I point IPython to the newest
> version of matplotlib?
>
> I tried googling, but wasn't sure how to zero in on the answer with a
> search.  Also, I'm not sure if this question is best suited for IPython
> people.
>
> Thanks,
> Tim
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to