found older version of python in my command prompt

Barry barry at barrys-emacs.org
Tue Mar 28 16:42:08 EDT 2023



> On 28 Mar 2023, at 16:44, pranavbhardwaj773 at gmail.com wrote:
> 
>     
> 
>    
> 
>   Sent from [1]Mail for Windows
> 
>   Dear sir,
> 
>                 I am Pranav Bhardwaj and I am facing issue regarding python
>   version. When I try to open python in my command prompt, I see there is
>   very older version in it that is python 2.7.13 as a default version. I
>   want to switch my default version to the latest version in my command
>   prompt. Plese help me how can I do this.

Uninstall python 2.7 in the usual windows way.
Download python 3.11 from python.org and run the installer.

In a cmd terminal window run py.exe and you should get the python prompt.

Barry
> 
>    
> 
> References
> 
>   Visible links
>   1. https://go.microsoft.com/fwlink/?LinkId=550986
> -- 
> https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list