Where are Pip installation logs?

Viewed 53382

Why doesn't pip make logs of which version of which lib was installed when? If you update a library to a broken version then what? How do you know which version is not broken?


Those who upvote this - can you tell me why are you doing it?

1 Answers

When you run the pip, you can specify the logfile. This way you can track the installation logs in future.

pip install pylint --log LOG_FILE

Or you can set it in your pip.conf to be enabled by default:

[global]
log = <path>

Hope this helps.However this is not exactly what you asked. This is just to help achieve that. For windows: Quoting from https://pip.pypa.io/en/stable/user_guide/#config-file

On Windows the configuration file is %APPDATA%\pip\pip.ini.
Related