質問編集履歴

1

文法の改善

2021/04/08 07:11

投稿

aoaoaoa
aoaoaoa

スコア0

test CHANGED
File without changes
test CHANGED
@@ -62,11 +62,7 @@
62
62
 
63
63
  ```
64
64
 
65
- [username]$ python3 -m pip uninstall discord.py
65
+ [userneme]$ python3 -m pip install -U discord.py
66
-
67
- Cannot uninstall requirement discord.py, not installed
68
-
69
- [username]$ pip3 install discord.py
70
66
 
71
67
  Collecting discord.py
72
68
 
@@ -76,9 +72,9 @@
76
72
 
77
73
  Using cached https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz
78
74
 
79
- Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.6/site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py)
75
+ 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)
80
-
76
+
81
- Requirement already satisfied: chardet<5.0,>=2.0 in /usr/local/lib/python3.6/site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py)
77
+ 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)
82
78
 
83
79
  Collecting multidict<7.0,>=4.5 (from aiohttp<3.8.0,>=3.6.0->discord.py)
84
80
 
@@ -108,7 +104,7 @@
108
104
 
109
105
  Running setup.py install for multidict ... error
110
106
 
111
- Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-y2m4obgs/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-ek1r_tk1-record/install-record.txt --single-version-externally-managed --compile:
107
+ 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:
112
108
 
113
109
  *********************
114
110
 
@@ -194,8 +190,20 @@
194
190
 
195
191
  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
196
192
 
197
- unable to execute 'gcc': No such file or directory
193
+ multidict/_multidict.c:1:20: fatal error: Python.h: No such file or directory
194
+
195
+ #include "Python.h"
196
+
197
+ ^
198
+
199
+ compilation terminated.
198
200
 
199
201
  error: command 'gcc' failed with exit status 1
200
202
 
201
- ```
203
+
204
+
205
+ ----------------------------------------
206
+
207
+ 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/
208
+
209
+ ```