所以我的程序可以按预期的方式作为.py文件工作,但是一旦我使用pyinstaller将其编译为exe文件,就会收到此错误。我该如何解决?
Traceback (most recent call last):
File "site-packages\discord\client.py", line 312, in _run_event
File "AmongUsBot.py", line 66, in on_message
i = await found.connect(reconnect=True)
File "site-packages\discord\abc.py", line 1097, in connect
File "site-packages\discord\voice_client.py", line 90, in __init__
RuntimeError: PyNaCl library needed in order to use voice