pip command to check installed packages code example
Example 1: windows where are pip packages installed
#Windows
%localappdata%\programs\python\python38\lib\site-packages
#Installed with chocolatey
C:\Python38\Lib\site-packages
Example 2: list all packages installed with pip
pipenv lock -r