471,337 Members | 934 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Getting importError: No module named _md5

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?

Jun 27 '07 #1
2 10207
On Jun 27, 7:04 am, jeffself <jeff.s...@gmail.comwrote:
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

Jun 27 '07 #2
On Jun 27, 11:54 am, half.ital...@gmail.com wrote:
On Jun 27, 7:04 am, jeffself <jeff.s...@gmail.comwrote:
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!

Jun 27 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Carsten Gehling | last post: by
reply views Thread by M. Lavasani | last post: by
6 posts views Thread by samn | last post: by
4 posts views Thread by prashant | last post: by
reply views Thread by Robert Dailey | last post: by
1 post views Thread by neridaj | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.