2 ways:
Currently most probably your python 3.7 version's.exe file is not removed and the path still exists in the Environment Variables just remove the path from there.
For Win 10:
1) Open System Properties - right click Computer in the start menu
2) Click Advanced system settings in the sidebar
3) Click Environment Variables
4) Select PATH in the System variables section and click Edit
5) Find and replace the path of python(3.7) from there with (python3.8.2)
Done
Try reinstalling python 3.8 again and see if it works, i think it will edit and change to the correct path
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.