Skip to content

py代码加了多线程后运行出错怎么解决 #92

Description

@oouu00

py文件直接运行是可以的
但是pyinstaller打包也是一样的出错,表现为会运行一堆的程序,解决办法是在 if name=='main:'下添加一句multiprocessing.freeze_support() 。
但是pystand这样还是不行,有没有解决办法

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions