Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12586 closed defect (duplicate)

python25 can't import md5

Reported by: yves@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: raimue (Rainer Müller)
Port:

Description

>>> import md5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/lib/python2.5/md5.py", line 6, in <module>
    from hashlib import md5
  File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

Change History (5)

comment:1 Changed 17 years ago by yves@…

I tried the 'official' binaries 2.5.1 and it works.

arrow navigation works too. MP python produces weird [[A characters when trying to use arrows.

comment:2 Changed 17 years ago by yves@…

Removing patch-setup.py seems like a good fix.

comment:3 Changed 17 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Tickets #11931, #12586, #12369 are duplicates describing the same issue. The resolution is to install py25-hashlib at the moment. As nox suggested we could also move this back into the main python25 port. How should we handle it?

comment:4 Changed 17 years ago by raimue (Rainer Müller)

Resolution: duplicate
Status: newclosed

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.