

If you aren't set on specifically using python3 and have the Python Launcher for Windows ( py.exe) installed which comes with "vanilla" Python from, you can use: # Use the "default" installation of Python 3.x, Make symbolic link called python3.exe to your preferred copy of Python 3.x with mklink: mklink "C:\path\to\symlink\python3.exe" "C:\path\to\Python3\python.exe"Ĭopy the python.exe file in your preferred installation of Python 3.x and rename the copied executable python3.exe. you want to run Python 3.x with python3), then there are at least a few possible approaches (each item below is a separate option): You can find a refresher on editing Windows Path variables here. That is, the Python 3.x executable is usually just python ( python.exe).īe aware that python.exe should be in a folder listed in your Windows Path if you want to access it as just python. not WSL), python3 is not typically a standard alias. "vanilla" Python, Anaconda, SciPy, etc.), but if I am not misunderstanding, this likely shouldn't be necessary.


You haven't mentioned what release of Python you are using (e.g. Wondering what version of PowerShell you’re running on your PC? It’s equally to find that information.I want to alias python3 to python on Windows. To check Python 2.7’s version, use this command: python -versionįor Python 3, use the following command: python3 -version In this case, to find the version of each instance of Python, you’ll use the following commands. This is because some apps use the newer Python 3 while others still rely on Python 2.7 in order to run. You could have multiple Python versions installed at the same time on your computer. RELATED: How to Launch a Terminal Window on Ubuntu Linux What If Your Computer Has Multiple Python Versions Installed? The terminal will output your current Python version. To check the installed Python version on Linux, open a Terminal window (you can often use the shortcut Ctrl+Alt+T), type the following command, and press Enter: python -version RELATED: 16 Terminal Commands That Every Mac User Should Know Checking the Python Version on Linux Your current Python version will be displayed.

On the Terminal window, type the following command and press Enter: python -version
