Currently, exe files can be generated using pyinstaller in the python3.4 directory..
Setting method in pycharm: Open setting ->tools->extend tools ->
The settings are as follows:
C:\Python34\Scripts\pyinstaller.exe
-w -F $FileName$
C:\Users\Jerry\PycharmProjects\untitled
Then select the py program, select tools->extools->the menu you just added in the menu, and execute the generation. .
Spec file settings: console=True to use console If the program uses console related commands, it must be set to True.