[web2py] import error when running compiled version of web2py

2014-10-31 Thread skd
Hi all, I have a web2py app that runs perfectly fine when running with web2py_src on windows. However, if i compile and pack the app and attempt to run it with web2py.exe in windows, I get import errors such as: type 'exceptions.ImportError' Cannot import module 'requests' If I type import

[web2py] Import error for guppy

2014-02-20 Thread David Phillips
My app uses web2py as a background task (as described in Ch. 4 of the web2py docs). I have a slow memory leak in the background task. I'm trying to run guppy periodically to find it but I am getting a error when I try to use it. The relevant part of my code looks like this: import guppy

[web2py] Import error for requests

2013-12-12 Thread John Zumsteg
I have a controller that does an *import requests. *I get the message Cannot import module 'requests' when trying to run it. I installed Requests using pip install, and /Library/Python/2.7/site-packages/ contains *requests-2.1.0-py2.7.egg*. I can import requests from the Python2.7

[web2py] Import error with 2.2.1

2012-11-01 Thread Neil
I just upgraded from 2.1 to 2.2.1, and I can no longer import matplotlib. I get the following error: ImportError: Cannot import module 'matplotlib' Is this related to the custom import? Perhaps it is the same as issue 1125? --

[web2py] Import error !!!

2011-09-09 Thread Farsheed Ashouri
Traceback (most recent call last): File /home/www-data/web2py/gluon/restricted.py, line 192, in restricted exec ccode in environment File /home/www-data/web2py/applications/myway/controllers/pastebin.py http://127.0.0.1:8000/admin/default/edit/myway/controllers/pastebin.py, line 15, in

[web2py] import error

2011-06-15 Thread mb_...@yahoo.fr
I wanted to use the w2popenid example application from bitbucket website : https://bitbucket.org/bottiger/web2py-openid/overview I have downloaded and placed the code in the applications directory. I have changed in the models folder the file db.py: this line from

Re: [web2py] import error

2011-06-15 Thread Pierre Thibault
2011/6/15 mb_...@yahoo.fr mb_...@yahoo.fr I wanted to use the w2popenid example application from bitbucket website : https://bitbucket.org/bottiger/web2py-openid/overview I have downloaded and placed the code in the applications directory. I have changed in the models folder the file db.py:

[web2py] import error debian package

2011-06-09 Thread Stavros
Has anyone who has used latest debian package been able to import modules while keeping the application self contained? I have the traceback from another user's application. First line of default.py question_maker = local_import('question_maker') then when you run it... Traceback (most recent