質問編集履歴
1
文法の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,15 +30,13 @@
|
|
30
30
|
|
31
31
|
###一応コマンドの実行結果をすべて載せておきます。
|
32
32
|
```
|
33
|
-
[
|
33
|
+
[userneme]$ python3 -m pip install -U discord.py
|
34
|
-
Cannot uninstall requirement discord.py, not installed
|
35
|
-
[username]$ pip3 install discord.py
|
36
34
|
Collecting discord.py
|
37
35
|
Using cached https://files.pythonhosted.org/packages/29/0b/5e6d2dc940926092a04bff2e324d7146ac7a8c9aa9d9fe8966ffe81faacb/discord.py-1.7.1-py3-none-any.whl
|
38
36
|
Collecting aiohttp<3.8.0,>=3.6.0 (from discord.py)
|
39
37
|
Using cached https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz
|
40
|
-
Requirement already
|
38
|
+
Requirement already up-to-date: attrs>=17.3.0 in /usr/local/lib/python3.6/site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py)
|
41
|
-
Requirement already
|
39
|
+
Requirement already up-to-date: chardet<5.0,>=2.0 in /usr/local/lib/python3.6/site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py)
|
42
40
|
Collecting multidict<7.0,>=4.5 (from aiohttp<3.8.0,>=3.6.0->discord.py)
|
43
41
|
Using cached https://files.pythonhosted.org/packages/1c/74/e8b46156f37ca56d10d895d4e8595aa2b344cff3c1fb3629ec97a8656ccb/multidict-5.1.0.tar.gz
|
44
42
|
Collecting async_timeout<4.0,>=3.0 (from aiohttp<3.8.0,>=3.6.0->discord.py)
|
@@ -53,7 +51,7 @@
|
|
53
51
|
Using cached https://files.pythonhosted.org/packages/29/88/c52aae187d3b128a0f13f36a6c987fc0d408d03a678ad9996516925d8495/idna-3.1-py3-none-any.whl
|
54
52
|
Installing collected packages: multidict, async-timeout, idna, typing-extensions, yarl, idna-ssl, aiohttp, discord.py
|
55
53
|
Running setup.py install for multidict ... error
|
56
|
-
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-
|
54
|
+
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zcauv_dr/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wafb0ja0-record/install-record.txt --single-version-externally-managed --compile:
|
57
55
|
*********************
|
58
56
|
* Accelerated build *
|
59
57
|
*********************
|
@@ -96,6 +94,12 @@
|
|
96
94
|
creating build/temp.linux-x86_64-3.6
|
97
95
|
creating build/temp.linux-x86_64-3.6/multidict
|
98
96
|
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c multidict/_multidict.c -o build/temp.linux-x86_64-3.6/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
|
99
|
-
|
97
|
+
multidict/_multidict.c:1:20: fatal error: Python.h: No such file or directory
|
98
|
+
#include "Python.h"
|
99
|
+
^
|
100
|
+
compilation terminated.
|
100
101
|
error: command 'gcc' failed with exit status 1
|
102
|
+
|
103
|
+
----------------------------------------
|
104
|
+
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zcauv_dr/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wafb0ja0-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-zcauv_dr/multidict/
|
101
105
|
```
|