Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12586 (closed defect: duplicate)

Opened 15 months ago

Last modified 15 months ago

python25 can't import md5

Reported by: yves@… Owned by: mww@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.5.2
Keywords: Cc: raimue@…
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

Changed 15 months 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.

Changed 15 months ago by yves@…

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

Changed 15 months ago by raimue@…

  • 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?

Changed 15 months ago by raimue@…

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.