小编And*_*ndy的帖子

Python 3.5 setup.py egg_info失败,错误代码为1 [Linux]

我和一个朋友正试图通过DigitalOcean建立一个不和谐机器人.但是,当我们运行命令" sudo -H pip3.5 install --upgrade -r requirements.txt"或沿着这些行的某些东西时,它总是以相同的错误结束.我们已经尝试安装python,它已经是最新的.

这是日志.

You may need to use sudo to install dependencies.
Run Code Online (Sandbox Code Playgroud)

root @ discord-bot:〜/ RadioOP#sudo -H pip3.5 install --upgrade -r requirements.txt收集https://github.com/Rapptz/discord.py/archive/async.zip(来自-r要求) .txt(第1行))正在下载https://github.com/Rapptz/discord.py/archive/async.zip(442kB)100% |█████████████████ ███████████████| 450kB 2.5MB/s收集youtube_dl> = 2016.4.24(来自-r requirements.txt(第2行))使用缓存的youtube_dl-2016.6.3-py2.py3-none-any.whl收集aiohttp <0.22.0,> = 0.21.0(来自discord.py == 0.10.0a0 - > - r requirements.txt(第1行))使用缓存的aiohttp-0.21.6.tar.gz收集websockets == 3.1(来自discord.py == 0.10. 0a0 - > - r requirements.txt(第1行))使用缓存的websockets-3.1.tar.gz收集PyNaCl == 1.0.1(来自discord.py == 0.10.0a0 - > - r requirements.txt(第1行) )使用缓存的PyNaCl-1.0.1.tar.gz从命令python setup.py egg_info完成输出:

    No working compiler found, or bogus compiler options …
Run Code Online (Sandbox Code Playgroud)

python linux bots pip

4
推荐指数
1
解决办法
4484
查看次数

标签 统计

bots ×1

linux ×1

pip ×1

python ×1