[問題] pyinstaller linux to windows 跨平台
大家好
不知道有沒有人在linux下使用pyinstaller製作executable file後丟到windows能夠執行
的?
我使用pyinstaller 1.4(官方FAQ有提到1.4 not support window python 2.6+,但那應
該不影響linux編完丟到windows執行吧?)
編譯指令如下
python Makespec.py -FadwsX main.py
python Build.py main.spec
編出來的檔案使用file看得到結果為 ELF 32bit LSB executable Intel 80386 version1
且在linux下可正常執行,但是將檔案移至window 7測試只會得到 programe is too bit
to fit in memory
而此項錯誤訊息經由google後為記憶體不足或是程式錯誤(?)
請問是否有人有遇過這種情況,並如何解決的。或是有其他跨平台的方法呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.112.232.146
→
03/21 23:38, , 1F
03/21 23:38, 1F
→
03/21 23:38, , 2F
03/21 23:38, 2F
→
03/21 23:55, , 3F
03/21 23:55, 3F
→
03/21 23:55, , 4F
03/21 23:55, 4F
→
03/21 23:55, , 5F
03/21 23:55, 5F
→
03/22 00:09, , 6F
03/22 00:09, 6F
Python 近期熱門文章
PTT數位生活區 即時熱門文章