Hi,

Does the box have multiple python versions installed, and are you sure that
apache is using the
same version and/or site packages as when you run it from the command line ?

Regards,
Rune V. Sjøen

On Fri, Mar 26, 2010 at 8:07 PM, Ken Dere <kpd...@verizon.net> wrote:

> Hi,
>
> I am trying to import pylab into an application running under an Apache
> wsgi
> server.  The error I get is that if it tries to import matplotlib.cbook.
> The application can import numpy, scipy etc just fine.
>
> the error message is that matplotlib has no module cbook.
>
> I can import matplotlib OK but if a do a dir(matplolib) it does indeed not
> include cbook.
>
> If I try to import pylab from the command line it works fine and
> pylab.cbook
> is found.
>
> Any suggestions would be appreciated.
>
>
> K. Dere
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to