Sprawdź wersję PIP
pip --version
Bad Bug
pip --version
pip list | grep <name_of_package>
pip list | grep ansible
#output
ansible 4.3.0
ansible-core 2.11.3
python -m pip install <package>
pip -V
pip freeze
File"stdin",line 1
pip list
Syntax Error: invalid syntax