Ticket #23765 (closed defect: worksforme)
Incomplete Python 2.6 installation (Snow leopard)
| Reported by: | gilles.lenfant@… | Owned by: | blb@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | mcalhoun@…, michaelld@… | |
| Port: | python26 |
Description
Hi,
Python 2.6 comes with an incomplete standard library. "hashlib" is not usable. As a consequence, I cannot install "mercurial". As I'm a MacPorts newbie, perhaps I missed something, but MacPorts is supposed to manage such dependencies.
glenfant@bidule:~
$ sudo port install python26
---> Computing dependencies for python26
---> Cleaning python26
glenfant@bidule:~
$ python2.6
Python 2.6.4 (r264:75706, Feb 16 2010, 02:42:21)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
>>>
Change History
Note: See
TracTickets for help on using
tickets.

