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

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

Options
  • 02-04-2010 7:25pm
    #1
    Registered Users 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