December 2018
Beginner
826 pages
22h 54m
English
Starting with Pip, you can check which version you're running with the --version argument:
$ pip3 --versionpip 18.1 from /usr/local/lib/python3.6/dist-packages/pip-18.1-py3.6.egg/pip (python 3.6)
You can list which packages you have installed (and their versions) with list, as follows:
$ pip3 listPackage Version ------------------- ---------asn1crypto 0.24.0 attrs 17.4.0 Automat 0.6.0 blinker 1.4 certifi 2018.1.18chardet 3.0.4 click 6.7 cloud-init 18.3 colorama 0.3.7
You can search for the package that you want; here, I'm checking for Ansible:
$ pip3 search ansibleovirt-ansible (0.3.2) - oVirt Ansible utilitypolemarch-ansible (1.0.5) - Wrapper for Ansible cli.kapellmeister-ansible (0.1.0) - Ansible Playbook manager.ansible-alicloud (1.5.0) ...