Pip should be run from the command line, not from within the Python REPL
whats command line since i am new to python
This SO question may be helpful:
Press the windows key and “cmd”, then Enter.
You can run pip from any shell, e.g. cmd.exe, powershell, or even Bash, depending what you’ve got set up in Windows terminal.