When it’s ready.

出来るまで出来ない

Python2.5 でKayを使ってみた。

昨日のエントリの続き
使っていたのがpython2.6だったので、2.5でもタメしてみた。

$ python2.5 manage.py runserver

Running on Kay-0.0.0
Traceback (most recent call last):
  File "manage.py", line 19, in <module>
    from kay.management import *
  File "/Users/atusi/Dropbox/repos/bitbucket/kay-sample/myproject/kay/management/__init__.py", line 1, in <module>
    from kay.management.shell import (
  File "/Users/atusi/Dropbox/repos/bitbucket/kay-sample/myproject/kay/management/shell.py", line 16, in <module>
    from google.appengine.ext.remote_api import remote_api_stub
  File "/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 68, in <module>
    import sha
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/sha.py", line 6, in <module>
    from hashlib import sha1 as sha
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

起動出来ないポイ
なんでだろ?

% which python2.5
/opt/local/bin/python2.5