Macports Python Google App Engine Gotcha

If you have Google App Engine installed via the official Mac launcher, and you also have Python installed under Macports, you might forget and try to run your app server via the Macports Python. This results in the following error:

'module' object has no attribute 'HTTPSHandler'

Simply change your environment to use the system Python with python_select python25-apple and issue the ./manage.py runserver command to kick things off again.

Post Metadata

Date
December 2nd, 2008

Author
Aral

Category

Tags


1 Comments

  1. ..or just install the socket-ssl module:

    sudo port install py25-socket-ssl


Leave a Reply

Anti-Spam Protection by WP-SpamFree