Correct command: python -m pip install modulename Alternative(if it doesn't work): py.exe -m pip install modulename