简体   繁体   English

我在 macOS 上下载 discord.py 时出错

[英]I'm having an error with downloading discord.py on my macOS

I keep getting an error message when trying to install discord.py with pip.尝试使用 pip 安装 discord.py 时,我不断收到错误消息。 My Python is at 3.6.5 but terminal says 2.7.16.我的 Python 是 3.6.5,但终端显示 2.7.16。 When trying to install discord.py, this is the code that comes up.尝试安装 discord.py 时,这是出现的代码。 enter image description here在此处输入图片说明

pip is defaulted to 2.7 on your system. pip 在您的系统上默认为 2.7。 you have 2 easy options:你有两个简单的选择:

  1. use pip3使用pip3
  2. create virtualenv of 3.6, activate and run pip on it.创建 3.6 的 virtualenv,激活并在其上运行 pip。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在使用 discord.py 时遇到问题,我的一个命令无法被识别 - I'm having a problem using discord.py, one of my commands won't get recognized 我正在使用 discord.py 制作音乐机器人,但在播放命令时遇到了一些问题 - I'm making a music bot with discord.py and I'm having some trouble with the play command discord.py出现导入错误 - Having an import error with discord.py discord.py 我试图从我的服务器发出一个 afk 命令,每次我运行我的机器人时它都会出错 - discord.py I'm trying to make an afk command from my server, and every time i run my bot it gives an error 为什么我的 discord.py 代码中出现此错误 - Why i've this error in my discord.py code 为什么我在 discord.py 中的前缀出现此错误 - Why I've this error with my prefix in discord.py 启动我的 discord.py 机器人时出现错误 - I have a error when starting my discord.py bot 如何在 MacOS 上下载 discord.py? - How Can I Download discord.py on MacOS? Discord.py | 我正在尝试使用会员名称和会员 ID 解除我的机器人禁令 - Discord.py | I'm trying to make my bot unban with both Member Name and Member ID 我的命令都没有在 discord.py 上运行,我不知道为什么 - None of my commands are running on discord.py and I'm not sure why
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM