Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

google app engine (python): ImportError no module named django.

  • 02-04-2010 6:25pm
    #1
    Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭


    So I'm trying to use the django 1.1 template engine with the google app engine web app framework, as per the docs. This is on Ubuntu Jaunty, I've made sure that the PYTHONPATH contains the location of Django-1.1.1 yet I'm getting this 'ImportError: No module named django' error when it tries to execute the use_library() line below, it throws the same error for '1.0'.

    I dunno how to troubleshoot this any further, anybody get any ideas?
    import os
    os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
    from google.appengine.dist import use_library
    use_library('django', '1.1')
    


Advertisement