Mailman: Note to Self
Aug. 10th, 2012 09:36 pmNot 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
The solution, as implied here is to fix my setuptools which is somehow wrong. On my mac, that meant clearing:
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.:
(c) Checked where it actually was (e.g.:
(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)
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)