Virtualenv / pip installation log?

pip, python, virtualenv

Solution

When you run the pip, you can specify the logfile.

pip install matplotlib --log LOG_FILE

That file will contain the verbose log

for example,

pip install matplotlib --log log.txt

This will create a `log.txt` in the same directory and put the log in that.

Problem

Do `pip` or `virtualenv` keep a log of installations? E.g. Say I create a virtualenv and install a package in it. ``` > source [my virtual env]/bin/activate > pip install matplotlib ``` Is there a place where a log of the package installation is kept? If not, what would be a good way to log package installations ? (other than manually copying the output of `pip install` to a text file)

Original source