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.
1 Réponse
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