Python Forum
Python 3.4: the only release to create .EXE standalone without .dll
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.4: the only release to create .EXE standalone without .dll
#3
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.
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.
Reply


Messages In This Thread
RE: Python 3.4: the only release to create .EXE standalone without .dll - by samsonite - Feb-26-2019, 04:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Tiny web server as standalone executable? Winfried 0 379 Feb-09-2024, 11:48 AM
Last Post: Winfried
  Run an app in a standalone terminal and wait until it's closed glestwid 2 2,564 Aug-30-2020, 08:14 AM
Last Post: glestwid
Lightbulb Standalone application samuelbachorik 8 3,608 Aug-02-2020, 01:57 PM
Last Post: samuelbachorik
  How to get mouse coordinates on click and release OhNoSegFaultAgain 1 3,024 May-17-2019, 06:56 PM
Last Post: buran
  How to release control of file jmair 2 2,813 Oct-03-2018, 08:22 PM
Last Post: jmair
  Release kbhit Epilepsy 2 4,358 May-26-2018, 10:47 AM
Last Post: snippsat
  How to release Memory of GPU! majinbuu 1 2,648 May-11-2018, 05:06 AM
Last Post: j.crater
  Standalone interpreter? stf92 2 2,860 Mar-11-2018, 12:33 AM
Last Post: stf92
  Correct way to import from a standalone module in a different location chowder 3 18,437 Dec-16-2017, 07:44 PM
Last Post: Larz60+
  3.6.2 is latest stable release right? And "path length" Fran_3 3 3,360 Aug-01-2017, 02:04 PM
Last Post: Fran_3

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020