Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (47.6k points)

I've been trying to configure the discord API discord.py and for the purpose of running the Red-MusicBot on my server. I've installed Python 3.5 and added the PATH variables (I clicked the "Add Python to PATH" option in install). Here's what my path variables currently look like:

C:\Users\Corey Rigney\AppData\Local\Programs\Python\Python35\Scripts\ C:\Users\Corey Rigney\AppData\Local\Programs\Python\Python35\

Those are the only ones related to Python. Now, as part of discord.py's install process, it wants me to run this command in Git Bash:

$ git clone https://github.com/Rapptz/discord.py 

$ cd discord.py 

$ python3 -m pip install -U.[voice]

The first two lines work perfectly, but the third line returns:

bash: python3: command not found

I also cloned pip from GitHub as an attempted fix, although the python install site says it comes packaged with 3.5.

I'm running Windows 10, 64-bit.

The overall goal of this is to install a discord music bot if it would help I can post the errors I get when trying to run that.

1 Answer

0 votes
by (106k points)

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

You can refer to our Python online course for more information.

Related questions

0 votes
1 answer
asked Jul 18, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
asked Jul 6, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
asked Jul 26, 2019 in Python by selena (1.6k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.7k users

Browse Categories

...