472,958 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 10333
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carsten Gehling | last post by:
Figured out myself - I just removed the line with "from url import Url" -it doesn't seem to be used anywhere ;-) - Carsten > -----Oprindelig meddelelse----- > Fra:...
2
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
0
by: M. Lavasani | last post by:
Hi I am trying to test Python-2.3. Any solution for this problem please: >>>gmake test case $MAKEFLAGS in \ *-s*)...
6
by: samn | last post by:
i compiled and installed the release version of python 2.5 for linux to a directory accessible to 2 computers, configured with --prefix=/usr/arch (which is accessible to both machines). the...
4
by: prashant | last post by:
I am running a python script which has the line import getopt, sys, os, re, string And i get the error ImportError: No module named getopt Could you please point out a possible solution...
0
by: Robert Dailey | last post by:
I created a basic python file and made an attempt to execute it from the command line, however it gives me a weird error after the python file has been executed: Traceback (most recent call...
1
by: Prof Rodney Coates | last post by:
Although I have been using Macs for a quarter of a century and was doing scientific programming in the '60's I am VERY new to Python on the Mac. I have been writing some very simple applications and...
1
by: neridaj | last post by:
Hello, Does anyone know how to fix this error when trying to build MySQL- python-1.2.2: python setup.py build Traceback (most recent call last): File "setup.py", line 5, in <module> import...
4
by: Daniel | last post by:
Hello, I'm trying to build a very simple IPC system. What I have done is create Data Transfer Objects (DTO) for each item I'd like to send across the wire. I am serializing these using...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.