EFrostBlade / PVZHybrid_Editor

A modifier of Plants vs Zombies hybrid.
MIT License
211 stars 14 forks source link

Can't build file exe #11

Open msgames1890 opened 2 months ago

msgames1890 commented 2 months ago

I used pyinstaller but couldn't create the exe file. I tried opening python files, only the test file showed the text.

EFrostBlade commented 2 months ago

Sorry.I can't understand english

msgames1890 commented 2 months ago

我使用了 pyinstaller 但无法创建 exe 文件。我尝试打开 python 文件,只有测试文件显示文本。

msgames1890 commented 2 months ago

我想将工具的显示语言更改为英语以供使用,但无法重新创建 exe 文件

msgames1890 commented 2 months ago

123 234

EFrostBlade commented 2 months ago

程序的入口文件为editor.py,应该安装好所有pip包后编译这个文件 The entry file for the program is editor.py, and it should be compiled after installing all pip packages

msgames1890 commented 2 months ago

Thanks, I can run now

jmili10 commented 1 month ago

hey @msgames1890 can you please help to install this editor I dont know anthing about python but I tried my best. I used auto py to exe and pyinstaller in cmd but without success can you help me please ?

msgames1890 commented 1 month ago

editor.py will ask you to install additional modules, in cmd it will notify you which modules are missing, you must "pip install + ..." each module name

jmili10 commented 1 month ago

can you tell me what to type exactly because I always have this problem "'pyinstaller' is not recognized as an internal or external command, operable program or batch file." But I have pyinstaller in "pip list" and i tried everything : I added python to path I asked chatgpt watched a lot of videos reinstalled python and nothing changed

EFrostBlade commented 1 month ago

您能告诉我具体输入什么吗,因为我总是遇到这个问题“'pyinstaller'无法识别为内部或外部命令、可操作程序或批处理文件。但是我在“pip list”中有 pyinstaller,我尝试了所有方法:我将 python 添加到路径中,我问 chatgpt 看了很多视频重新安装 python,什么都没有改变

try it Pyinstaller -w -i .\res\icon\editor.ico --add-data "res\icon*;res\icon" --add-data "res\support*;res\support"--add-data "res\cards\pvzhe_plants*;res\cards\pvzhe_plants"--add-data "res\cards\pvzhe_zombies*;res\cards\pvzhe_zombies" editor.py

jmili10 commented 1 month ago

Thnks a lot @EFrostBlade but I always have the problem with pyinstaller is not recognized as the name of a cmdlet can you please upload zip file of the extracted version of the pvz hybrid editor