offlineimap/python problem
Jamie Griffin
jpg at gmx.com
Tue Mar 10 18:04:52 PDT 2009
Hi
I've installed offlineimap just now using macports. The build process went ok, except when i try to run offlineimap i get this error:
-------------------------------------------
Traceback (most recent call last):
File "/opt/local/bin/offlineimap", line 20, in <module>
from offlineimap import init
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/init.py", line 20, in <module>
from offlineimap import imapserver, repository, folder, mbnames, threadutil, version, syncmaster, accounts
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/folder/__init__.py", line 1, in <module>
import Base, Gmail, IMAP, Maildir, LocalStatus
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/offlineimap/folder/Maildir.py", line 23, in <module>
import os.path, os, re, time, socket, md5
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/md5.py", line 6, in <module>
from hashlib import md5
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
------------------------------------
I have no idea how to fix this. Has anyne else had this issue and does onyone know what i can do to put it right.
I'm using mac os x 10.4.11 with the latest macports installation for tiger.
The version of offlineimap installed is 6.0.3_0
TIA,
Jamie
More information about the macports-users
mailing list