Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python exe not working on other pc

# To convert my Python project to exe, I'm using Nuitka.
# It creates a C code from your Python script and then compile it to 
# an executable.

# For the installation of Nuitka, https://nuitka.net/doc/user-manual.html#usage

# Once Nuika is installed, you can create a .exe with

nuitka --standalone --assume-yes-for-downloads --remove-output --disable-dll-dependency-cache --plugin-enable=pylint-warnings --plugin-enable=numpy --plugin-enable=pkg-resources --windows-disable-console your_script.py
# (replace "your_script" with the name of your python project)

# The .exe will work on any pc
 
PREVIOUS NEXT
Tagged: #python #exe #working #pc
ADD COMMENT
Topic
Name
9+7 =