Hi Andrew,

It looks like  you have an old version of numpy somewhere on your python path. 
You need to delete all the old numpy installs/eggs from site-packages, and 
anywhere else on your PYTHONPATH.

On Friday 06 June 2008 3:48:05 am Andrew Charles wrote:
> I recently removed my existing numpy and matplotlib installations and
> rebuilt from svn, then installed the matplotlib-0.98.0 egg
> If I fire up ipython and then get to work everything is ok, but
> attempting to start ipython with the -pylab flag results in a numpy
> version error message, as shown below.
>
> I thought I'd removed all traces of the older numpy, but apparently
> there is a vestige of it somewhere - anyone else get this?
>
> ----------------------------------------------------
>
> spinode: ipython
> Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.8.2 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: import numpy
>
> In [2]: numpy.version.version
> Out[2]: '1.2.0.dev5255'
>
> In [3]: import pylab
>
> In [4]: pylab.plot([0,0.1,0.5])
> Out[4]: [<matplotlib.lines.Line2D object at 0x2280a90>]
>
> In [5]: pylab.show()
>
> In [6]: exit()
> Do you really want to exit ([y]/n)? y
> spinode: ipython -pylab
> numpy 1.1 or later is required; you have 1.0.5.dev4897
>
>
>
> -------------------------
> Andrew Charles
> Centre for Australian Weather and Climate,
> Australian Bureau of Meteorology.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
Darren S. Dale, Ph.D.
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to