If you're running one of the web2py binary versions, web2py runs its own
Python interpreter, so it won't have access to the Python installed on your
system (or any of its modules). If you want to use the Python on your
system, just run the source version of web2py -- it's just as easy as the
binary -- simply download, unzip, and run the /web2py/web2py.py file. Then
you should be able to import matplotlib (assuming it is installed on your
system).
Anthony
On Wednesday, July 20, 2011 11:50:39 AM UTC-4, Hadi wrote:
> mdipierro writes:
>
> >
> >
> > On Oct 25, 11:30 am, Vincent wrote:
> > > Not sure how I missed that.
> > > I am getting this error,
> > >
> > > >>> os.chdir('/Users/vmd/Dropbox/web2py/web2py.app')
> > > >>> from gluon.main import *
> >
> > install the web2py source version if you are going this
> >
> >
>
>
> Hi Guys,
> Please help me out. it's making me to go insane. I can't find out how to
> import
> the matplotlib within web2py.
>
> i want to import LXML and matplotlib.
>
> What should i do?
>
> THANKS A LOT.
>
> All the best,
> Hadi
>
>