When I am installing a python module, I use

python setup.py install

I see all of the output on the command line, but is all of this output saved to a log file somewhere? I'm asking because I installed a module on our development server without a problem. I went to install it on our production server and am having issues. I was hoping to compare logs of the two installs.

link|improve this question

feedback

2 Answers

up vote 0 down vote accepted

Just like with everything else:

python setup.py install >& log.txt

Or, if you want the messages to be printed to screen AND log.txt, use:

somecommand 2>&1 | tee log.txt
link|improve this answer
feedback

I think you have to use the '--record logfilename' argument on that command line to force output to a log.

link|improve this answer
that dumps a list of files that were installed, but not all the install details. thanks though. – Banjer Jan 12 '10 at 19:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.