I've downloaded the python-daemon package (https://pypi.python.org/pypi/python-daemon/) and tried installing it using
python setup.py install
but I get this error:
Traceback (most recent call last):
File "setup.py", line 22, in ?
main_module = __import__(main_module_name, fromlist=['version'])
TypeError: __import__() takes no keyword arguments
I'm not sure what's causing this. I tried getting around it by just working in same directory as the downloaded module (in which case I can get access to the daemon module), but that led to other problems down the line.
Also, I'm using python 2.4.3, and updating is not an option unfortunately.
sudo pip install python-daemon