Duplicity 0.4.4 MD5 Module Error on OS X 10.5 Leopard

3 12 2007

There is an issue, if you haven’t already discovered it, in the MacPort installation for Duplicity 0.4.4, which is the current port version as of today, December 3, 2007.

I know, I know .. the current official release is 0.4.6, released November 28, 2007, according to the official site, but I’m only the messenger. Please direct your complaints to the maintainers (port info duplicity | grep Maintainers).

Anyway, very likely if you ended up here, you’re running into the following error no matter what duplicity command you run:

ImportError: No module named _md5

Apparently, the maintainers forgot to note a further port dependency, so you’re not getting all the source you need to properly run the program. Thankfully, the fix is quite easy. All you need to do is install the py25-hashlib port, and all will be swell:

sudo port install py25-hashlib

Now you know, and knowing is half the battle.


Actions

Information

One response to “Duplicity 0.4.4 MD5 Module Error on OS X 10.5 Leopard”

14 02 2008
oliver (21:20:40) :

The internet is awash with the useless suggestion “just recompile from source.” This is the only place I found this simple (if not obvious) but certainly underdocumented solution.

Thanks!

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>