Feb-26-2019, 04:01 PM
snippsat wrote:
Use pyinstaller work Python 3.7 and can make one file executable(.exe).
Just done, unsuccessfully (many .dll's) with 3.5.1 version, as follows, and I have some doubts that something changes with 3.7. Better if someone else replicate my test, thank you.
Use pyinstaller work Python 3.7 and can make one file executable(.exe).
Just done, unsuccessfully (many .dll's) with 3.5.1 version, as follows, and I have some doubts that something changes with 3.7. Better if someone else replicate my test, thank you.
C:\Users\Alfabeta>pip install pyinstaller Collecting pyinstaller Downloading https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef3 9a0cc/PyInstaller-3.4.tar.gz (3.5MB) 100% |################################| 3.5MB 1.3MB/s Installing build dependencies ... done ............. ............. Successfully built pefile future Installing collected packages: altgraph, macholib, pywin32-ctypes, future, pefile, pyinstaller Successfully installed altgraph-0.16.1 future-0.17.1 macholib-1.11 pefile-2018.8.8 pyinstaller-3.4 pywin32-ctypes-0 .2.0 C:\Training>cd zzz C:\Training\zzz>pyinstaller Neper.py 62 INFO: PyInstaller: 3.4 62 INFO: Python: 3.5.1 62 INFO: Platform: Windows-10-10.0.17134-SP0 62 INFO: wrote C:\Training\zzz\Neper.spec 62 INFO: UPX is not available. 78 INFO: Extending PYTHONPATH with paths ['C:\\Training\\zzz', 'C:\\Training\\zzz'] 78 INFO: checking Analysis 78 INFO: Building Analysis because Analysis-00.toc is non existent 78 INFO: Initializing module dependency graph... 78 INFO: Initializing module graph hooks... 78 INFO: Analyzing base_library.zip ... 2859 INFO: running Analysis Analysis-00.toc 3515 INFO: Caching module hooks... 3530 INFO: Analyzing C:\Training\zzz\Neper.py 5585 INFO: Loading module hooks... 5585 INFO: Loading module hook "hook-encodings.py"... 5663 INFO: Loading module hook "hook-pydoc.py"... 5663 INFO: Loading module hook "hook-xml.py"... 5882 INFO: Looking for ctypes DLLs 5897 INFO: Analyzing run-time hooks ... 5897 INFO: Looking for dynamic libraries 5991 INFO: Looking for eggs 5991 INFO: Using Python library c:\users\alfabeta\appdata\local\programs\python\python35\python35.dll 5991 INFO: Found binding redirects: [] 6009 INFO: Warnings written to C:\Training\zzz\build\Neper\warn-Neper.txt 6056 INFO: Graph cross-reference written to C:\Training\zzz\build\Neper\xref-Neper.html 6072 INFO: checking PYZ 6072 INFO: Building PYZ because PYZ-00.toc is non existent 6072 INFO: Building PYZ (ZlibArchive) C:\Training\zzz\build\Neper\PYZ-00.pyz 6587 INFO: Building PYZ (ZlibArchive) C:\Training\zzz\build\Neper\PYZ-00.pyz completed successfully. 6587 INFO: checking PKG 6587 INFO: Building PKG because PKG-00.toc is non existent 6587 INFO: Building PKG (CArchive) PKG-00.pkg 6619 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 6619 INFO: Bootloader c:\users\alfabeta\appdata\local\programs\python\python35\lib\site-packages\PyInstaller\bootlo ader\Windows-64bit\run.exe 6619 INFO: checking EXE 6619 INFO: Building EXE because EXE-00.toc is non existent 6619 INFO: Building EXE from EXE-00.toc 6634 INFO: Appending archive to EXE C:\Training\zzz\build\Neper\Neper.exe 6634 INFO: Building EXE from EXE-00.toc completed successfully. 6650 INFO: checking COLLECT 6650 INFO: Building COLLECT because COLLECT-00.toc is non existent 6650 INFO: Building COLLECT COLLECT-00.toc 7105 INFO: Building COLLECT COLLECT-00.toc completed successfully.