terriko: (Default)
[personal profile] terriko
Not sure this will be ever useful to anyone else, but just in case it hits me again later or when I'm helping someone else set up mailman on mac osx 10.7...

When I tried to run python bootstrap.py I got an error that looked like this:

AttributeError: 'module' object has no attribute '__getstate__'

The solution, as implied here is to fix my setuptools which is somehow wrong. On my mac, that meant clearing:

/Library/Python/2.7/site-packages/

Simple, easy, except that I have about a billion copies of python installed so finding the right one took some work. To figure out what to remove, I did the following:

(a) Ran the version of python I was actually trying to use to get a command line shell
(b) loaded setuptools (e.g.: import setuptools)
(c) Checked where it actually was (e.g.: print setuptools.__file__)
(d) Removed stuff from that directory (I could have just removed setuptools, but since I was trying to set up a fresh environment anyhow, I actually emptied the entire directory and let mailman reload)

Profile

terriko: (Default)
terriko

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 2nd, 2026 03:52 pm
Powered by Dreamwidth Studios