This doesn't seem to work when you are running on AppEngine!

It works perfectly outside but when I am running it using
dev_appserver, it doesn't work.

Is this a bug?

On Mar 18, 4:54 pm, mdipierro <[email protected]> wrote:
> You should put them in web2py/site-packages
>
> On Mar 18, 9:35 am, PanosJee <[email protected]> wrote:
>
>
>
> > Never mind i just put the folder in /web2py and smiled
> > But i am not sure if it s good way to do it
>
> > On Mar 18, 4:11 pm, PanosJee <[email protected]> wrote:
>
> > > Hey guys there were some posts regarding this issue but i could not
> > > figure out what to do
> > > I want to use some python libraries but i cannot install them insite-> > 
> > > packagesor pymodules so i have to add them in the modules folder.
>
> > > Let s say i want to use gdatamind
> > > There are tons of files and in most of them there are import like
> > > import gdata
> > > import gdata.contacts
>
> > > Acually i am using the pystache library. In the __init__.py there is
> > > the following code
> > > from pystache.template import Template
> > > from pystache.view import View
>
> > > in my controller i have written
> > > from applications.init.modules.pystache import *
> > > i also tried
> > > import applications.init.modules.pystache as pystache
>
> > > I get the following error
> > > ImportError: No module named pystache.template
>
> > > And i get the same error. I could rewrite the import in the
> > > __init__.py but then i have to change all imports in other files of
> > > the code and this could be a show stopper when i ll try to put in the
> > > modules the gdata library.
>
> > > Do you have any hints on how to do this import and actually change the
> > > namespace of the import or so?

-- 
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