How do I go about freezing or packaging my python 3 application? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I go about freezing or packaging my python 3 application?

I have worked through a tutorial to build a roguelike using the TDL library. Tried Cx_freeze, py2app and pycharmer but no luck so far. Any help would be much appreciated.

22nd Oct 2017, 8:48 PM
Dave Savage
Dave Savage - avatar
1 Answer
0
okay, you dont tell your error so i will give you my trick -i using pyinstaller -pyinstaller is only work in windows -make sure there is no error in your code(try it in windows) -make sure you give time to your code. ex: print("hello");import time;time.sleep(10) -run pyinstaller as administrator(important) -syntax: python pyinstaller.py myscript.py -output will be in dist folder(this folder is located where your script is located) hope im helping :v sorry my bad englesh
18th Dec 2017, 10:39 AM
Kevin AS
Kevin AS - avatar