0

に変換しようとして.py.exeます。
ただし、使用中に 2 つのエラー メッセージが表示されましたauto-py-to-exe。最初のエラー メッセージは次のとおりです。

UPX is not available.

2 番目のエラー メッセージは次のとおりです。

An error occurred while packaging.

この 2 番目のメッセージは、「プロジェクトの出力は出力フォルダーに移動されません。
関連するエラー:

    266710 INFO: PyInstaller: 5.0.dev0
    266725 INFO: Python: 3.9.1
    266746 INFO: Platform: Windows-10-10.0.19041-SP0
    266765 INFO: wrote C:\Users\Public\Documents\ESTsoft\CreatorTemp\tmpgijz11tp\Seming Teacher's Reading Master.spec
    266784 INFO: UPX is not available.
    An error occurred while packaging
    Traceback (most recent call last):
      File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\auto_py_to_exe\packaging.py", line 131, in package
        run_pyinstaller()
      File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\__main__.py", line 114, in run
        run_build(pyi_config, spec_file, **vars(args))
      File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
        PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
      File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\build_main.py", line 725, in main
        build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
      File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\building\build_main.py", line 669, in build
        code = compile(f.read(), spec, 'exec')
      File "C:\Users\Public\Documents\ESTsoft\CreatorTemp\tmpgijz11tp\Seming Teacher's Reading Master.spec", line 26
        name='Seming Teacher's Reading Master',
                             ^
    SyntaxError: invalid syntax

Project output will not be moved to output folder.
4

1 に答える 1