I am trying to install discord.py with voice support into Pythonista on my iPad using StaSh. The problem is that when I enter the command pip install discord.py[voice]
like it says to in the documentation, I get an error that says Error: Failed to fetch package release urls
. Can anyone help me figure out what the issue is here? Any help is greatly appreciated. Thanks!
Asked
Active
Viewed 836 times
3

Patrick Haugh
- 59,226
- 13
- 88
- 96
-
Have you seen [this GitHUb issue](https://github.com/ywangd/stash/issues/309)? It looks like that should already have been fixed though. Are you using the latest version of StaSH? – Patrick Haugh Jul 15 '18 at 12:33
-
Yes I have seen that GitHub issue. I checked my pip.py file and all of the mentions of https are there instead of http like they said in the issue. My error only occurs when I try to install discord.py[voice]. I have used it to install the basic discord.py module but I want the full voice support as well. – Jul 15 '18 at 15:09
-
Can you install PyNaCl independently? That's the dependency discord.py uses for voice problems, and it can be difficult to install on some systems. – Patrick Haugh Jul 15 '18 at 15:11
-
I have tried that too. It works just fine until it gets to running setup.py. When it gets to that it just sits there and never completes the installation. – Jul 15 '18 at 15:13
-
So I just realized that maybe my issue with installing PyNaCl was that I was running StaSh in python 3 instead of python 2. I tried running it in python 2 and instead of stopping at the setup file, it gave me this error. – Jul 15 '18 at 16:28
-
Are you trying to install `discord.py` for Python 2? That won't work. `discord.py` requires the asynchronous programming frameworks introduced in Python 3.4 – Patrick Haugh Jul 15 '18 at 16:29
-
Oh. Ok. Never mind then. I tried it again in python 3 and it still stops at the setup.py file. – Jul 15 '18 at 16:31
3 Answers
0
As explained in discord.py repo on Github, the command may be different depending on your OS.
In Linux/macOS you should use the command with "
:
pip install "discord.py[voice]"

phil-gl
- 71
- 5
0
In discord.py docs, it says using this command:
pip install -U discord.py[voice]
try that.

electromeow
- 211
- 2
- 8