Find version of a Python library using pip list and grep

If you want to get the version of a Python library, you can use pip list. But a quicker way is to use pip list | grep package_name.

The grep command is used to search files that match a given string. Above is an example to get the version of your pandas library using pip list and grep

Related Posts

Related Posts

Scroll to Top