pynacl and discord.py error
See original GitHub issuePlease tick all applicable boxes.
- [v] I am using Python 3.5.3 or higher (run
python --version
on the command line) - [v] I have followed the official guides to install the bot for my system
- I have updated my dependencies to the latest version using the appropriate
update
script
Which version are you using?
- [v] The latest
master
version (release-260419) - The latest
review
version
What type of issue are you creating?
- [v] Bug
- Feature request
- Question
Description of issue
python3.7 -m pip install -U -r requirements.txt
ERROR: Cannot install discord-py[voice]==1.2.5 and pynacl==1.2.1 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested pynacl==1.2.1 discord-py[voice] 1.2.5 depends on PyNaCl==1.3.0; extra == “voice”
To fix this you could try to:
- loosen the range of package versions you’ve specified
- remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
Steps to reproduce
Log file
Please attach your MusicBot log file (located at logs/musicbot.log
) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Discord.py .connect() not working (PyNaCl) - Stack Overflow
connect()". For some reason every time I try to use this command I get an error that says: "PyNaCl library needed in order...
Read more >PyNaCl Issue · Issue #1916 · Rapptz/discord.py - GitHub
Okay so. I have recently put my public bot onto a hosting rather than use my computer. And they installed the correct version...
Read more >discord.py - PyPI
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features. Modern Pythonic API using async...
Read more >my bot gives me a error saying... - Replit
my bot gives me a error saying 'An error occurred: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice'...
Read more >python discord bot module not found - You.com | The AI ...
txt (line 2)) (6.0) ERROR: Cannot install discord-py[voice]==1.2.5 and pynacl==1.2.1 because these package versions have conflicting dependencies. The conflict ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Change the requirements.txt file so that it looks like this: pynacl discord.py[voice] pip youtube_dl colorlog
Then run update.bat(if your on windows, if not chose the appropriate update file for your system OS) once it’s all up to date, then do run.bat(same note as before). Make to to press n and then y that way it doesn’t reset the requirements.txt file back to the original.
Why do I need to change the requirements.txt file? Discord pushed an update that broke discord.py, it was fixed in a new version of discord.py however we haven’t updated the requirements.txt file to target the latest version of discord.py with the fix.
누구세요
2021년 6월 6일 (일) 오전 10:10, Winter @.***>님이 작성: