ImportError: No module named _functools

Aahz aahz at
Fri Jul 17 05:39:39 CEST 2009

In article <bfd28485-adaf-43ca-963d-3576c1c2cd4e at>,
Tony  Lay  <tonylay at> wrote:
>On Jul 16, 10:14=A0am, a... at (Aahz) wrote:
>> In article <45228cf4-0b37-4c52-bf6f-d7bd124b0... at l32g2000vbp.googlegroups=
>> Tony =A0Lay =A0<tony... at> wrote:
>>>Traceback (most recent call last):
>>> =A0File "/usr/local/bin/meld", line 35, in <module>
>>> =A0 =A0import gettext
>>> =A0File "/usr/local/lib/python2.6/", line 49, in <module>
>>> =A0 =A0import locale, copy, os, re, struct, sys
>>> =A0File "/usr/local/lib/python2.6/", line 15, in <module>
>>> =A0 =A0import functools
>>> =A0File "/usr/local/lib/python2.6/", line 10, in <module>
>>> =A0 =A0from _functools import partial, reduce
>>>ImportError: No module named _functools
>> Where is
>It's in the path...
>export PYTHONHOME=3D/usr/local/lib/python2.6
>export PYTHONPATH=3D/usr/local/lib/python2.6:/usr/local/lib/python2.6/

What's in sys.path?  You might also get somewhere with "python -vv".
Aahz (aahz at           <*>

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair

More information about the Python-list mailing list