ImportError: No module named _functools

View: New views
2 Messages — Rating Filter:   Alert me  

ImportError: No module named _functools

by Lay, Tony :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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?

Regards,

 

Tony Lay

UNIX Administration

407-306-6559

Lockheed Martin – EBS

One Company, One Team

 


[Anthony (Tony) Lay (tony.lay@...).vcf]

BEGIN:VCARD
VERSION:2.1
N:Lay;Anthony (Tony)
FN:Anthony (Tony) Lay (tony.lay@...)
ORG:Lockheed Martin
TITLE:Computer Network Supprt SrSpec
TEL;WORK;VOICE:407/306-6559
TEL;PAGER;VOICE:321/297-0122
ADR;WORK:;;12506 Lake Underhill Rd;Orlando;FL;32825;US
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:12506 Lake Underhill Rd=0D=0AOrlando, FL 32825=0D=0AUS
EMAIL;PREF;INTERNET:tony.lay@...
REV:20090424T165829Z
END:VCARD



_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

smime.p7s (10K) Download Attachment

Re: ImportError: No module named _functools

by Kai Willadsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/11 Lay, Tony <tony.lay@...>:

> 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
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list