Python 打包成執行檔的方式大致如下:

  1. py2exe
  2. cx_Freeze
  3. PyInstaller

而 py2exe 並沒有使用過,原先是使用 pyinstaller ,但似乎無法在 Python 3.x 上正常運作,於是只好轉向 cx_Freeze。

….. (待補完)

參考資料: https://bitbucket.org/anthony_tuininga/cx_freeze/issues/155/required-environment-variables-tcl_library