Answers for "python exe not working on other pc"

0

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
Posted by: Guest on August-26-2021

Code answers related to "python exe not working on other pc"

Python Answers by Framework

Browse Popular Code Answers by Language