pip – Bash: Python3: command not found (Windows, discord.py)

pip – Bash: Python3: command not found (Windows, discord.py)

In the python installed(c:\InstallationpathPython3.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. Dont 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 wont get those unless you try to use more than one python version.

pip – Bash: Python3: command not found (Windows, discord.py)

In windows using git bash, python3 didnt worked for me:

$ python --version
Python 2.7.15

but if I use py

$ py --version
Python 3.8.1

doesnt know why, but It worked

Leave a Reply

Your email address will not be published. Required fields are marked *