You should not use local_import. It is deprecated and anyway not designed for this.
Just put the packages in site-packages, and use normal import. site- packages is in sys.path. On Oct 15, 8:54 pm, Minocha <akshayminoc...@gmail.com> wrote: > I used the local_import function after copy-pasting the module > directory into the [application-name]/packages/ folder but even then i > get an error. > Please help > > On Oct 15, 4:57 pm, Minocha <akshayminoc...@gmail.com> wrote: > > > > > > > > > i'm new in deploying applications on the GAE using the web2py. > > I wanted to ask what is the procedure to make available external > > libraries for python controllers in web2py on platforms - GAE and also > > on external server where i would like to host a website.