本文介紹了如何安裝 discord.py 重寫?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我運行了 python3 -m pip install -U discord.py
但它只安裝了 discord.py v0.16.x.如何安裝新的 discord.py rewrite v1.0?
I ran python3 -m pip install -U discord.py
but it only installed discord.py v0.16.x. How do I install the new discord.py rewrite v1.0?
我使用 pip uninstall discord.py
卸載了舊的 discord.py 并重新運行 pip 來安裝 discord.py,只是再次獲得版本 v0.16.x 而不是新的 v1.0 版本.
I uninstalled the old discord.py using pip uninstall discord.py
and re-ran pip to install discord.py, only to get version v0.16.x again instead of the new v1.0 version.
推薦答案
嘗試使用
pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]
這應該轉到 discord.py
存儲庫的 rewrite
分支并獲取要安裝的 egg 文件.
That should go to the rewrite
branch of the discord.py
repository and get the egg file to install.
這篇關于如何安裝 discord.py 重寫?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!