由于EnvironmentError无法安装`discord.py`

时间:2020-06-04 03:28:34

标签: python error-handling discord discord.py

[Windows 10] [Python 3.8.3]错误的其余部分:Could not find a suitable TLS CA certificate bundle, invalid path: path/to/ca-bundle.crt 我已经尝试过pip3 install -U discord.py py -3 -m pip3 install -U discord.py pip3 install discord.py,但是看不到要安装它。

1 个答案:

答案 0 :(得分:0)

如果您正在使用诸如PyCharm的python第三方程序,请在终端上编写:

python -m pip install discord.py

在“ IDLE”中,请按照下列步骤操作:

 1. cd C:\Users\[Your Username]\AppData\Roaming\Python\Python38[On Me]\Scripts
 2. python -m pip install discord.py 

希望这会有所帮助。祝你有美好的一天!

*编辑:您的Python\Python38可能有所不同,我认为您可以通过按"WINDOWS + R"并在框上输入%appdata%进行检查。之后,向下滚动一点,您将找到Python