need help to compile python with pyinstaller

前端 未结 2 368
-上瘾入骨i
-上瘾入骨i 2021-01-21 19:26

I want to distribute my python code on machines running windows 7+. It consists of a couple of .py files with the main in cprofiles_lmfit.py, together with a file <

2条回答
  •  孤城傲影
    2021-01-21 19:44

    A little too late but, incase someone stumbles here later on, you can use 'auto-py-to-exe' package to remove the hassle of using CMD. It provides a nice GUI with all the options of 'pyinstaller'.

    It can be installed using 'pip install auto-py-to-exe' and Can be used with 'auto-py-to-exe' at terminal.

    GitHub link : https://github.com/brentvollebregt/auto-py-to-exe

提交回复
热议问题