py -m pip

python -m pip install moduleName

Here is what the above code is Doing:
1. It’s telling Python to run the pip program.
2. It’s telling pip to install the module named moduleName.

If you want to install a module for all users on your computer, you’ll have to run this command as an administrator. On Windows, you can do this by opening the Command Prompt as an administrator. On macOS and Linux, you can do this by running the sudo pip install moduleName command.

If you want to install a module for a specific Python version, you can use the version number. For example, to install the module for Python 3.6, you would use the command python3.6 -m pip install moduleName.

If you want to install a module for a specific Python version and you don’t know the version number, you can use the py command. For example, to install the module for the default Python version on your computer, you would use the command py -m pip install moduleName.

If you’re using a version of Python that doesn’t have the pip program, you can download the get-pip.py script from the pypa.io website. Once you have the script, you can run it using the python get-pip.py command.