pyinstallerの "onefile"実行可能ファイルにDLLとテキストファイルを含める必要があります。 DLLを追加することはできますが、両方のファイルを指定しようとすると、pyinstallerは文句を言います。私はむしろ(スペックファイルではなく)コマンドラインオプションを使用します - 複数のファイルの正しい形式は何ですか?pyinstallerに複数のデータファイルを含める
http://pyinstaller.readthedocs.io/en/stable/spec-files.html#adding-data-files
http://pyinstaller.readthedocs.io/en/stable/usage.html#options-group-what-to-bundle-where-to-search
例えば、いくつかのことを試してみました pyinstaller:エラー:引数--add-data:無効なadd_data_or_binary値: '/C/path1/my.dll;/c/path2/my.txt ;.'