質問編集履歴

1

エラーログ追記

2022/10/01 03:42

投稿

ngmg
ngmg

score67

test CHANGED
File without changes
test CHANGED
@@ -47,7 +47,30 @@
47
47
  await channel_sent.send("完了")
48
48
 
49
49
  token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
50
- bot.run(token)```
50
+ bot.run(token)
51
+ ```
52
+
53
+ ### エラーログ
54
+ ```
55
+ Traceback (most recent call last):
56
+ File "/home/hogehoge/work/venv/test.py", line 1, in <module>
57
+ import discord
58
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/__init__.py", line 23, in <module>
59
+ from .client import *
60
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/client.py", line 49, in <module>
61
+ from .user import User, ClientUser
62
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/user.py", line 29, in <module>
63
+ import discord.abc
64
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/abc.py", line 59, in <module>
65
+ from .voice_client import VoiceClient, VoiceProtocol
66
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/voice_client.py", line 49, in <module>
67
+ from . import opus, utils
68
+ File "/home/hogehoge/work/venv/lib/python3.9/site-packages/discord/opus.py", line 30, in <module>
69
+ import ctypes
70
+ File "/home/hogehoge/local/python/lib/python3.9/ctypes/__init__.py", line 8, in <module>
71
+ from _ctypes import Union, Structure, Array
72
+ ImportError: Shared object "libffi.so.6" not found, required by "_ctypes.so"
73
+
74
+ ```
51
75
 
52
76
 
53
-