Virtualenv / pip logbook?

Do pipor virtualenvsave the installation log?

eg. Let's say I create virtualenv and install the package in it.

> source [my virtual env]/bin/activate
> pip install matplotlib

Is there a place where the package installation log is kept?

If not, what would be a good way to register package packages? (except for manually copying the output pip installto a text file)

+8
source share
2 answers

When you run pip, you can specify the log file.

pip install matplotlib --log LOG_FILE

This file will contain a verbose log

eg,

pip install matplotlib --log log.txt

This will create log.txtin the same directory and put the log in it.

+5
source

If you care about maintaining logs, pa verbose is probably also important to you.

-v, - -v . 3 .

+1

All Articles