我使用pyinstaller将.py文件转换为可执行文件,但是它没有工作
编辑:我正在使用“随机”库和“ OS”库,它们是否正在干扰文件的执行?
早上好,我正在创建一个在终端中运行的挂钩游戏,没有打开任何图形窗口,我使用pyinstaller将.py文件转换为可执行文件。当我通过命令运行时。/my_file正常工作,但是如果我尝试通过双击来运行它,它就不会打开任何东西!有人知道如何解决吗?
EDIT: I'm using the "random" library and the "os" library, could they be interfering with the file's execution?
Good morning, I'm creating a hangman game that runs all in the terminal, doesn't open any graphical window, I used pyinstaller to turn my .py file into an executable. When I run it through the command ./My_file it works normally, but if I try to run it by double clicking it doesn't open anything! Does anyone know how to solve?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论