[英]Trying to install discord.py and it says “no module named pip”
When running the command to install discord.py
运行命令安装discord.py
python3 -m pip install -U discord.py
It says that there is no module named pip and thus I cannot complete the download or installation.它说没有名为 pip 的模块,因此我无法完成下载或安装。 I checked, and pip is installed on my machine.我查了一下,我的机器上安装了pip。 I am running Ubuntu.我正在运行 Ubuntu。
Just do sudo apt-get python3-pip
只需执行sudo apt-get python3-pip
Then do pip3 install -U discord.py
然后做pip3 install -U discord.py
Should fix it.应该修复它。
Do sudo apt install python3-pip
做sudo apt install python3-pip
And then pip3 install -U discord.py
然后pip3 install -U discord.py
I would have just commented on the previous answer but I'm a guest我会评论上一个答案,但我是客人
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.