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)
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.
If you care about keeping the logs, you probably care also about pip's verbose option
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With