Run -> SystemPropertiesAdvanced.exe -> Environmental Variables… -> Path -> Edit… -> New…
Add two paths related to python on your computer: YOUR_PATH\Python39\Scripts\ and YOUR_PATH\Python39\.