0
I am trying to assemble an executable, from a python code by the Pyinstaller library. But when executing the code by:
C:\...>pyinstaller --name Aplicativo Aplicativo.pyw
is generated an amount of a large amount of . dll that are not localized, for example:
...
224734 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
225035 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
225396 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
225715 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
225995 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
226088 WARNING: lib not found: libopenblas.UWVN3XTD2LSS7SFIFK6TIQ5GONFDBJKU.gfortran-win32.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
226394 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
226697 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
227012 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\qhull.cp35-win32.pyd
227317 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\ckdtree.cp35-win32.pyd
227609 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\ckdtree.cp35-win32.pyd
227933 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\scipy\spatial\ckdtree.cp35-win32.pyd
228598 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
228911 WARNING: lib not found: api-ms-win-crt-locale-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
229247 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
229568 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
229866 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
230162 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
230443 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
230757 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
231054 WARNING: lib not found: api-ms-win-crt-filesystem-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
231355 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
231651 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\cv2.cp35-win32.pyd
231960 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
232257 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
232608 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
232874 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
233168 WARNING: lib not found: api-ms-win-crt-filesystem-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
233465 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
233768 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
234018 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
234340 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
234625 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\etree.cp35-win32.pyd
234922 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\lxml\_elementpath.cp35-win32.pyd
235259 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui.pyd
235567 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui.pyd
235886 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore.pyd
236195 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore.pyd
236489 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore.pyd
236778 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore.pyd
237100 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore.pyd
238194 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
238495 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
238761 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
239060 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
239353 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
239702 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
239960 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
240271 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tk86t.dll
240606 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
240904 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
241200 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
241512 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
241823 WARNING: lib not found: api-ms-win-crt-convert-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
242163 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
242455 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
242739 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
243020 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of c:\program files (x86)\python35-32\DLLs\tcl86t.dll
243459 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui4.dll
243773 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui4.dll
244101 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui4.dll
244404 WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui4.dll
244724 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtGui4.dll
245105 WARNING: lib not found: api-ms-win-crt-stdio-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore4.dll
245381 WARNING: lib not found: api-ms-win-crt-string-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore4.dll
245665 WARNING: lib not found: api-ms-win-crt-utility-l1-1-0.dll dependency of C:\Program Files (x86)\Python35-32\Lib\site-packages\PyQt4\QtCore4.dll
...
When running the "Program", they generate these error lines
File "aplicacao.pyw", line 17, in <module>
from imutils import perspective
File "c:\program files (x86)\python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "imutils\perspective.py", line 5, in <module>
File "c:\program files (x86)\python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "scipy\spatial\__init__.py", line 95, in <module>
File "c:\program files (x86)\python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 714, in load_module
module = loader.load_module(fullname)
ImportError: DLL load failed: The specified module could not be found.
[2732] Failed to execute script aplicacao
I once managed to create an executable of this same program, for this library, now I do not know what is happening. Would anyone know how to generate this executable? The libraries used were: Pyqt4;matplotlib;opencv;imutils;docx;numpy;date and Math and there are some image and text files.
Already tried to generate the executable of a simple script, like hello world ?
– André Roggeri Campos
No, but as I commented, I already managed to generate this executable, only that I made some simple modifications in the inteface, for example: button adjustment, there now it does not generate more. But I will check with a simpler script =)
– D.Cavalcante
I believe you also need to install Visual C++.
– André Roggeri Campos
I looked now, the visual C++ is already installed on my computer
– D.Cavalcante
I downloaded the 2017 version of Visual C++ and still gives the same problems
– D.Cavalcante