Getting importError: No module named _md5

jeffself jeff.self at gmail.com
Wed Jun 27 14:48:05 EDT 2007


On Jun 27, 11:54 am, half.ital... at gmail.com wrote:
> On Jun 27, 7:04 am, jeffself <jeff.s... at gmail.com> wrote:
>
> > I'm running Python 2.5.1 which I'm getting from the MacPort package
> > system.  I just installed Django and tried to start up the Django
> > server and I got the following error:
>
> > ImportError: No module named _md5
>
> > I'm pretty sure this is a python problem, not Django problem. I'm
> > looking in the python2.5 directory and I see md5.py, md5.pyc and
> > md5.pyo files.
>
> > Any suggestions?
>
> Try to load the md5 module from the interactive prompt.  Are you using
> the python version you expect?  Try starting up your previous version
> of python and see if you get the same error.  Delete the MacPort
> install and install from source.
>
> My 2 cents.
>
> ~Sean

I reinstalled Python from source and it worked.  Thanks!




More information about the Python-list mailing list