Groups
Groups
Sign in
Groups
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
importing modules from site-packages on GAE
52 views
Skip to first unread message
Jurgis Pralgauskis
unread,
Aug 28, 2010, 1:12:33 PM
8/28/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Hello,
if I try to import module from
web2py/site-packages in GAE env ,
it can't find it
but if I copy it to web2py/ (root) , it is found ok.
mdipierro
unread,
Aug 29, 2010, 1:06:47 AM
8/29/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
very odd,
sys.path.append(os.path.dirname(__file__))
sys.path.append(os.path.join(os.path.dirname(__file__),'site-
packages'))
are in gaehandler.py
On Aug 28, 12:12 pm, Jurgis Pralgauskis <
jurgis.pralgaus...@gmail.com
>
wrote:
Reply all
Reply to author
Forward
0 new messages