Python pyinstaller execution questions

Asked 2 weeks ago, Updated 2 weeks ago, 1 views

Hello, everyone pyinstaller has a problem with compiling and running, so I'm asking you a question

def main():
    while True:
        start_time = time.time()
        pool = Pool(2), range(1,b+1)) 
        print("--- %s seconds ---"%(time.time() - start_time)))

if __name__ == '__main__':

I had to import page information repeatedly like this, so I had to repeat it with while When running in Visual Studio Code The pool disappears as you want, and works well. When you compile and run it, pool appears as infinite and the computer stops What is the problem?


2022-09-20 11:01

1 Answers

    Freeze_support() <<< You have to write this down!

2022-09-20 11:01

If you have any answers or tips

© 2022 pinfo. All rights reserved.