我创建了一个不和谐的bot,当我制作一个.exe文件并运行它时,出现错误消息:
C:\Users\Admin\Desktop\programming\python\PycharmProjects\discord_bot\dist>main.exe
Traceback (most recent call last):
File "main.py", line 1, in <module>
ModuleNotFoundError: No module named 'discord'
[188] Failed to execute script main
我应该如何让pyinstaller查看该模块和其他模块?