same as exampled before

On Oct 25, 10:40 am, Vincent <[email protected]> wrote:
> Actually I am on a Mac 10.6, I was planning on hosting it on my Vista
> machine but that not a big deal, I would prefer to get it going on my
> Mac.
> How do I try to start web2py from Enthought?
>
> Vincent
>
> On Oct 25, 9:10 am, mdipierro <[email protected]> wrote:
>
> > I assume you are running the python windows binary. You cannot take a
> > module from enought and make it visible there, in particular not
> > matplotlib that has a lot of dependencies.
>
> > You need to start web2py from Enthought. I tried this and I get an
> > enought error at startup,  think releted to Tkinter. I did not get to
> > the bottom of this (could get some help). When you can do is from
> > enthought:
>
> > os.chdir('/path'to/web2py/')
> > from gluon.main inmport *
> > HttpServer(ip='127.0.0.1',port=8000,password='hello').start()
>
> > then web2py will see matplotlib.
>
> > On Oct 25, 9:00 am, Vincent <[email protected]> wrote:
>
> > > I am have Python Enthought 5.1 installed on my system, It includes
> > > matplotlib. I recently learning cherrypy and it install into
> > > Enthought. (1) can I do something similar with web2py, it seems like
> > > it just comes with it's own python. (2) How would I import/install a
> > > module into the web2py python.
> > > I am going though the sc_dna_talk.pdf from Massimo, page 28 has this
> > > seemingly simple import statement, and I am not sure how Missimo
> > > python is setup
>
> > > import random, cStringIO
> > > from matplotlib.backends.backend_agg
> > > import FigureCanvasAgg as FigureCanvas
> > > from matplotlib.figure import Figure
>
> > > Thanks
> > > Vincent
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to