Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python --version shows old version

I'm using Windows, and in my path I have:

C:\Users\Ant_P\AppData\Local\Programs\Python\Python311\
C:\Users\Ant_P\AppData\Local\Programs\Python\Python311\Scripts\

When I type python3 --version, it still shows me 3.10.8.

I deleted the old python folder, but it still exists. I've tried looking online, but I'm not seeing how to fix this. I thought I just had to set my path, but apparently there is something else going on. Any clues?

like image 296
Ant_Pearl Avatar asked Sep 02 '25 13:09

Ant_Pearl


1 Answers

When you first install, In setup you have to set Add python.exe to PATH and choose Customize installation then set Install Python for all users.

I had the same problem and reinstalling worked (with python 3.12.0)

https://www.youtube.com/watch?v=nU2Egc3Zx3Q

like image 154
Gigi Nemsadze Avatar answered Sep 05 '25 02:09

Gigi Nemsadze