Re: ImportError: No module named _functools



2009/7/11 Lay, Tony <tony lay lmco com>:
> It’s taken me a bit of effort to get pygtk2 to compile and finally it went
> (pycairo and gtk were finicky)…anyways, I digress.
>
> When the end user tries to run meld 1.3.0 he’s getting
> $ meld
> Traceback (most recent call last):
>   File "/usr/local/bin/meld", line 35, in <module>
>     import gettext
>   File "/usr/local/lib/python2.6/gettext.py", line 49, in <module>
>     import locale, copy, os, re, struct, sys
>   File "/usr/local/lib/python2.6/locale.py", line 15, in <module>
>     import functools
>   File "/usr/local/lib/python2.6/functools.py", line 10, in <module>
>     from _functools import partial, reduce
> ImportError: No module named _functools
> $
>
> We are running:
> pygtk-2.8.6
> Python-2.6.2
>
> Any ideas?

functools is a standard python module, so I'd guess that your python
installation is broken.

Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]