0

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.

2 Answers 2

1

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
1

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

1
  • that dumps a list of files that were installed, but not all the install details. thanks though.
    – Banjer
    Jan 12, 2010 at 19:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .