pip check where package is installed code example
Example: windows where are pip packages installed
#Windows
%localappdata%\programs\python\python38\lib\site-packages
#Installed with chocolatey
C:\Python38\Lib\site-packages
#Windows
%localappdata%\programs\python\python38\lib\site-packages
#Installed with chocolatey
C:\Python38\Lib\site-packages