teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

修正

2020/04/16 05:15

投稿

person
person

スコア224

title CHANGED
File without changes
body CHANGED
@@ -44,7 +44,7 @@
44
44
 
45
45
 
46
46
 
47
- エラーログ
47
+ pyinstallerコマンド実行ログ
48
48
  ```
49
49
  >pyinstaller C:\Users\ユーザ名\Desktop\test\main.py
50
50
  60 INFO: PyInstaller: 3.6

2

修正

2020/04/16 05:15

投稿

person
person

スコア224

title CHANGED
File without changes
body CHANGED
@@ -39,7 +39,8 @@
39
39
  test
40
40
  ....├ main.py
41
41
  ....├ ○○.py
42
- .... △△.py
42
+ .... △△.py
43
+ ....└ ××.ini
43
44
 
44
45
 
45
46
 

1

追加

2020/04/16 05:14

投稿

person
person

スコア224

title CHANGED
File without changes
body CHANGED
@@ -30,4 +30,83 @@
30
30
 
31
31
  exe化の仕方が間違っているのでしょうか?
32
32
 
33
- 回答よろしくお願いします。
33
+ 回答よろしくお願いします。
34
+
35
+ **追記**
36
+
37
+ ファイル構成
38
+
39
+ test
40
+ ....├ main.py
41
+ ....├ ○○.py
42
+ ....└ △△.py
43
+
44
+
45
+
46
+ エラーログ
47
+ ```
48
+ >pyinstaller C:\Users\ユーザ名\Desktop\test\main.py
49
+ 60 INFO: PyInstaller: 3.6
50
+ 60 INFO: Python: 3.8.2
51
+ 61 INFO: Platform: Windows-10-10.0.18362-SP0
52
+ 63 INFO: wrote C:\Users\ユーザ名\Desktop\main.spec
53
+ 65 INFO: UPX is not available.
54
+ 66 INFO: Extending PYTHONPATH with paths
55
+ ['C:\Users\ユーザ名\Desktop\test', 'C:\Users\ユーザ名\Desktop']
56
+ 66 INFO: checking Analysis
57
+ 67 INFO: Building Analysis because Analysis-00.toc is non existent
58
+ 67 INFO: Initializing module dependency graph...
59
+ 69 INFO: Caching module graph hooks...
60
+ 76 INFO: Analyzing base_library.zip ...
61
+ 2499 INFO: Processing pre-find module path hook distutils
62
+ 2499 INFO: distutils: retargeting to non-venv dir 'c:\users\ユーザ名\appdata\local\programs\python\python38-32\lib'
63
+ 5228 INFO: Caching module dependency graph...
64
+ 5362 INFO: running Analysis Analysis-00.toc
65
+ 5365 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
66
+ required by c:\users\ユーザ名\appdata\local\programs\python\python38-32\python.exe
67
+ 5441 INFO: Analyzing C:\Users\ユーザ名\Desktop\test\main.py
68
+ 5504 INFO: Processing module hooks...
69
+ 5504 INFO: Loading module hook "hook-distutils.py"...
70
+ 5506 INFO: Loading module hook "hook-encodings.py"...
71
+ 5584 INFO: Loading module hook "hook-lib2to3.py"...
72
+ 5588 INFO: Loading module hook "hook-pydoc.py"...
73
+ 5589 INFO: Loading module hook "hook-sysconfig.py"...
74
+ 5590 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
75
+ 5591 INFO: Loading module hook "hook-xml.py"...
76
+ 5642 INFO: Loading module hook "hook-_tkinter.py"...
77
+ 5769 INFO: checking Tree
78
+ 5770 INFO: Building Tree because Tree-00.toc is non existent
79
+ 5771 INFO: Building Tree Tree-00.toc
80
+ 5869 INFO: checking Tree
81
+ 5869 INFO: Building Tree because Tree-01.toc is non existent
82
+ 5871 INFO: Building Tree Tree-01.toc
83
+ 5933 INFO: Looking for ctypes DLLs
84
+ 5970 INFO: Analyzing run-time hooks ...
85
+ 5975 INFO: Including run-time hook 'pyi_rth__tkinter.py'
86
+ 5977 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
87
+ 5986 INFO: Looking for dynamic libraries
88
+ 6315 INFO: Looking for eggs
89
+ 6315 INFO: Using Python library c:\users\ユーザ名\appdata\local\programs\python\python38-32\python38.dll
90
+ 6316 INFO: Found binding redirects:
91
+ []
92
+ 6327 INFO: Warnings written to C:\Users\ユーザ名\Desktop\build\main\warn-main.txt
93
+ 6387 INFO: Graph cross-reference written to C:\Users\ユーザ名\Desktop\build\main\xref-main.html
94
+ 6445 INFO: checking PYZ
95
+ 6446 INFO: Building PYZ because PYZ-00.toc is non existent
96
+ 6447 INFO: Building PYZ (ZlibArchive) C:\Users\ユーザ名\Desktop\build\main\PYZ-00.pyz
97
+ 7148 INFO: Building PYZ (ZlibArchive) C:\Users\ユーザ名\Desktop\build\main\PYZ-00.pyz completed successfully.
98
+ 7167 INFO: checking PKG
99
+ 7167 INFO: Building PKG because PKG-00.toc is non existent
100
+ 7168 INFO: Building PKG (CArchive) PKG-00.pkg
101
+ 7187 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
102
+ 7195 INFO: Bootloader c:\users\ユーザ名\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe
103
+ 7195 INFO: checking EXE
104
+ 7198 INFO: Building EXE because EXE-00.toc is non existent
105
+ 7199 INFO: Building EXE from EXE-00.toc
106
+ 7199 INFO: Appending archive to EXE C:\Users\ユーザ名\Desktop\build\main\main.exe
107
+ 7231 INFO: Building EXE from EXE-00.toc completed successfully.
108
+ 7239 INFO: checking COLLECT
109
+ 7239 INFO: Building COLLECT because COLLECT-00.toc is non existent
110
+ 7240 INFO: Building COLLECT COLLECT-00.toc
111
+ 9373 INFO: Building COLLECT COLLECT-00.toc completed successfully.
112
+ ```