From: John Hunter <jdh2358@gm...> - 2008-12-17 23:15:02
On Wed, Dec 17, 2008 at 4:43 PM, Kaushik Ghose
> Hi John,
> The install goes fine, but I come up blank on the import.
> sudo rm -rf
> 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 : import pylab
Please run the following commands after cleaning the previous installs
and reinstalling the mpkg file::
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.
Get latest updates about Open Source Projects, Conferences and News.