Troubleshooting
Windows
-
Cannot run python on Git for Windows - Bash
Solution: Paste the command below in a bash window, then it will work.
$ echo "alias python='winpty python.exe'" >> ~/.bashrc . ~/.bashrc
-
How to run different python version on Windows?
py --list will list all available python versions on current machine.
py -
$ py --list * Active venv -V:3.12 Python 3.12 (64-bit) -V:3.10 Python 3.10 (64-bit) $ py -3.10 -m venv .venv