|
From: Timothy D. <tim...@gm...> - 2014-02-21 23:58:20
|
Paul, Do you know how to to get pip install on python.org's version? Thanks, Tim On Fri, Feb 21, 2014 at 5:53 PM, Paul Hobson <pmh...@gm...> wrote: > 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 <tim...@gm...> 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 >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > -- ------------------------------------------------- Timothy M. Duly Graduate Research Assistant Remote Sensing & Space Sciences Group Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign airglow.csl.illinois.edu ------------------------------------------------- |