flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
9.9k stars 390 forks source link

Packaging Python app...Flet app package app/app.zip was not created. #3448

Open MOHAMED-SEGHIR-Elhocine opened 3 weeks ago

MOHAMED-SEGHIR-Elhocine commented 3 weeks ago

I got this problem : Creating Flutter bootstrap project...OK Customizing app icons and splash images...OK Generating app icons...OK Packaging Python app...Flet app package app/app.zip was not created.

I've used the command : flet build windows /Path/..

Laztef commented 2 weeks ago

u have problem whit dependencies. Try to upgrade flutter, dart, add the paths (use flutter doctor command in the terminal). Create your requirements.txt manually. If nothing work try to create a new env and install all the dependencies again.

GidroN commented 1 week ago

Got the same problem. Tried to recreate the env, but didn't work. Are there some other ways to solve it?

MOHAMED-SEGHIR-Elhocine commented 5 days ago

I managed to make it work by using PyCharm Community Edition, which has a built-in virtual environment. I was previously using VS Code. Thank you all.