once and for all clarification when you get this python or pip is not recognised error in windows command prompt happens often when multiple IDE installations
Go to environmental variables then to system variables where you change or add this
sometimes your anaconda3 path maybe in allusers if you install it as administator so go through the C drive to get that
example C:\Users\All Users\anaconda3
If not try py -m pip install yourpackage