When trying to install a package via
pip, it's recommended to invoke pip as a module:
python -m pip install your_package.
Why would we use
python -m pip instead of
Invoking pip as a module ensures you know which pip you're using. This is helpful if you have multiple Python versions. You always know which Python version you're installing packages to.
python command you invoke can vary. It may be
py, ensure it's correct for your system.