When running the command flet build apk –include-packages flet_audio in the terminal, the following error occurs: Running package command
Creating asset directory: C:UsersbahtiAppDataLocalTempflet_flutter_build_build_wAsXq4KTiMapp
Copying Python app from C:GMusic to C:UsersbahtiAppDataLocalTempserious_python_temp3d0525fd
Configured mobile platform with sitecustomize.py at
C:UsersbahtiAppDataLocalTempserious_python_sitecustomize9bff01a6sitecustomize.py
Installing dependencies with pip command to
C:Users/bahti/AppData/LocalTempserious_python_temp3d0525fd_pypackages_.
Extracting Python distributive from
C:UsersbahtiAppDataLocalTempcpython-3.11.6+20231002-x86_64-pc-windows-msvc-shared-install_only.tar.gz to
C:Users/bahti/AppData/Local/Temp/hostpython3.11.8efa2473.
Compiling Python sources at C:UsersbahtiAppDataLocalTempserious_python_temp3d0525fd
Error building Flet app – see the log of failed command above.
Has anyone encountered this problem? Help please
Most likely the matter is in the requirements.txt file which contains: requests, asyncio, yt_dlp. Without it, the application can be easily build
PythonDeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.