where is my pip installed code example

Example 1: using pip windows cmd

python -m pip install <package>

Example 2: windows where are pip packages installed

#Windows
%localappdata%\programs\python\python38\lib\site-packages
#Installed with chocolatey
C:\Python38\Lib\site-packages

Example 3: how to check if pip is installed

File"stdin",line 1

pip list

Syntax Error: invalid syntax

Example 4: pip install python

"""to install a python module just use pip command"""
"""open cmd as administrator and write this command"""
pip install <package-name>
"""for ex. pip install pandas"""
##before writing command first change environment variable to your pip file location