On Wed, Dec 17, 2008 at 4:43 PM, Kaushik Ghose
<kaushik_gh...@hms.harvard.edu> wrote:
> Hi John,
>
> The install goes fine, but I come up blank on the import.
>
> Thanks
> -Kaushik
>
> sudo rm -rf
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib*
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> sudo installer -pkg matplotlib-0.98.5.1-py2.5-macosx10.5.mpkg -target /
> installer: Package name is matplotlib 0.98.5.1-r0
> installer: Installing at base path /
> installer: The install was successful.
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> In [1]: import pylab

Please run the following commands after cleaning the previous installs
and reinstalling the mpkg file::


   ls
   python -c 'import matplotlib; print matplotlib.__file__'
   python -c 'import matplotlib; print matplotlib.__version__'
   python -c 'import pylab'

The ls is important because sometimes a person has a directory named
'matplotlib' in their local path, and this is getting picked rather
than the installed matplotlib which contains the pylab module.

JDH

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to