Opened 15 years ago
Last modified 15 years ago
#19905 closed defect
ImportError: No module named _md5 — at Initial Version
Reported by: | ajb78@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | python25 |
Description
When I try to import pylab from the macports python I get the following error:
import pylab Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "/opt/local/lib/python2.5/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/opt/local/lib/python2.5/site-packages/matplotlib/pylab.py", line 206, in <module>
from matplotlib import mpl # pulls in most modules
File "/opt/local/lib/python2.5/site-packages/matplotlib/mpl.py", line 11, in <module>
from matplotlib import finance
File "/opt/local/lib/python2.5/site-packages/matplotlib/finance.py", line 13, in <module>
from md5 import md5 #Deprecated in 2.5
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 py25-hashlib installed and interestly enough I can import numpy (which has a dependence on py25-hashlib). I also have a problem trying to run ipython and now even trying to install the port. I can the same error.