For some reason, every time I attempt to install a new module using easy_install, I'm getting the error:
AttributeError: 'module' object has no attribute '__getstate__'
I'm using setuptools-0.6c11-py2.6
Try http://code.activestate.com/lists/python-distutils-sig/13989/: the gist is "reinstall setuptools".
I had the same problem, but the solution was that i had two versions of setuptools: one was in /usr/local/lib/python2.6/dist-packages/distribute-0.6.8-py2.6.egg/ and one was in /usr/lib/python2.6/dist-packages/. the former was an outdated version, but /usr/local/lib/python2.6/dist-packages is earlier on my path. i removed the old one, and was good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With