Python 3 Programming Tutorial - cx freeze python to exe

sentdex · 172K views · 2014 · 12:08

Open on YouTube

Python, Ruby & scripting languagesTesting, debugging & developer toolstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as a step-by-step walkthrough of cx_Freeze when PyInstaller fails or when they need to package a Python script as an executable.

Recommended by 2 people across 2 different months, 2017 to 2018.

What it is

A 2014 Python 3 tutorial by sentdex on using the third-party cx_Freeze module to turn a Python script into a Windows .exe. It walks through writing a setup script so users can run the program without having Python or its modules installed.

What people said

Recommends Aasmund Runningen · 2018-05 · Stack Overflow · on “PyInstaller converted EXE stopped to work on Python 3.6 64-bit”

I found a solution to the problem. I didn't find out what that went wrong, but I tried cx_freeze and than it worked. I don't know what went wrong but if you se this video: [this video] and use the code from the cx_freeze description: [LINK] would you probably get it to work.

Recommends TheOne · 2018-07 · Stack Overflow · on “Pyinstaller excluding tkinter module when compiling”

I firmly believe that you seen it in cmd while processing the code. As far as I am concerned, the pyinstaller automatically includes tkinter ... That said there's no need to include it separately (by the way: --hidden-import isn't appropriate for modules defined in classical way - import tkinter ). Have you tried running the pyinstaller script simply without any including options? 2nd option: Try using cx_freeze as explained here cx_freeze tutorial [this video] . It's a bit more coding, but it may work better for you

Cites I. Wewib · 2017-02 · Stack Overflow · on “cx_freeze AttributeError: module 'dis' has no attribute '_unpack_opargs'”

I have been trying for quite some time now to make my Python program run on pc's that don't have python installed. I have issues because I'm using python 3.6.0. In this post I am going to discuss a method I got from this video [this video] . The first thing I did, was install Python 3.5 and create a virtualenv for it, which I activated. You can see how I did that on the post I made earlier today [LINK] . After I activated the environment, I used this command in cmd in the python 3.5 environment: pip install cx_Freeze . It got installed with no errors. Then I made this setup.py file: from cx_Freeze import setup, Executable setup(name='vkv', version='0.1', description='Berekent de wortels van een v