Gentoo “Can’t Pickle” Error

I’m a Gentoo newbie. Actually, I consider myself a newbie to Linux in general. The other day while putting together my own system using Gentoo, I ran into problems every time I tried to emerge something. While portage was calculating dependencies, it would suddenly stop and spit out a cryptic error trace that ended with:

cPickle.PicklingError: Can't pickle <type 'method-wrapper'>: attribute lookup __builtin__.method-wrapper failed

None of my Gentoo geek buddies knew what was up. After trying a few things, I came up with a good solution: manually reinstall emerge/portage. I found an excellent tutorial on how to do this at gentoo.org:

http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

Tags:

Leave a Reply