Bash: Python3: Command Not Found (Windows, Discord.py)


Answer :

In the python installed("c:\\Installationpath\Python3.6.0") path you will find "python.exe", just copy paste in the same place and rename it as "python3.exe", now in the command prompt you can check python3 command should display your python installation. Don't forget to open a new terminal.


On Windows the normal name for the python executable is python.exe (console program) or pythonw.exe (for GUI programs).

The python executable is sometimes called python3 on some platforms, where the default (python) is the old python 2. On many UNIX-based (inc. Linux and OS X) systems, python 2 is used by system utilities, changing it could have bad consequences on those platforms, hence the name "python3".

On Windows you should be fine - there are other issues on Windows but you won't get those unless you try to use more than one python version.


In windows using git bash, python3 didn't worked for me:

$ python --version Python 2.7.15 

but if I use py

$ py --version Python 3.8.1 

doesn't know why, but It worked


Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?