Процесс «flet build» перестает отвечать во время извлечения дистрибутива Python.Python

Программы на Python
Ответить Пред. темаСлед. тема
Гость
 Процесс «flet build» перестает отвечать во время извлечения дистрибутива Python.

Сообщение Гость »


I am trying to create an APK file of my app, using flet build apk.

To get the logs I used flet build apk --verbose -vv.

Packaging Python app... Run subprocess: ['E:\\Flutter\\flutter\\bin\\dart.BAT', 'run', 'serious_python:main', 'package', 'C:\\Users\\minik\\OneDrive\\Desktop\\AndroidApp', '--mobile', '--platform', 'mobile', '--dep-mappings', 'flet=flet-embed', '--req-deps', 'flet-embed', '--exclude', 'build', '--verbose'] Building package executable... (1.7s) Built serious_python:main. Running package command Creating asset directory: C:\Users\minik\AppData\Local\Temp\flet_flutter_build_iVWwjetaxF\app Copying Python app from C:\Users\minik\OneDrive\Desktop\AndroidApp to C:\Users\minik\AppData\Local\Temp\serious_python_tempf4660737 Configured mobile platform with sitecustomize.py at C:\Users\minik\AppData\Local\Temp\serious_python_sitecustomizef84b41c4\sitecustomize.py Installing dependencies [flet-embed, flet_easy, alertapi==0.0.7] with pip command to C:\Users\minik\AppData\Local\Temp\serious_python_tempf4660737\__pypackages__ Extracting Python distributive from C:\Users\minik\AppData\Local\Temp\cpython-3.11.6+20231002-x86_64-pc-windows-msvc-shared-install_only.tar.gz to C:\Users\minik\AppData\Local\Temp\hostpython3.11_f119ba11 VERBOSE: C:\Users\minik\AppData\Local\Temp\hostpython3.11_f119ba11\python\python.exe -m pip install --isolated --upgrade --target C:\Users\minik\AppData\Local\Temp\serious_python_tempf4660737\__pypackages__ flet-embed flet_easy alertapi==0.0.7 VERBOSE: Collecting flet-embed VERBOSE: Obtaining dependency information for flet-embed from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached flet_embed-0.20.2-py3-none-any.whl.metadata (1.1 kB) VERBOSE: Collecting flet_easy VERBOSE: Obtaining dependency information for flet_easy from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached flet_easy-0.1.1-py3-none-any.whl.metadata (4.8 kB) VERBOSE: Collecting alertapi==0.0.7 VERBOSE: Using cached alertapi-0.0.7-py3-none-any.whl VERBOSE: Collecting attrs==21.4.0 (from alertapi==0.0.7) VERBOSE: Obtaining dependency information for attrs==21.4.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached attrs-21.4.0-py2.py3-none-any.whl.metadata (9.8 kB) VERBOSE: Collecting aiohttp==3.8.4 (from alertapi==0.0.7) VERBOSE: Using cached aiohttp-3.8.4.tar.gz (7.3 MB) VERBOSE: Installing build dependencies: started VERBOSE: Installing build dependencies: finished with status 'done' VERBOSE: Getting requirements to build wheel: started VERBOSE: Getting requirements to build wheel: finished with status 'done' VERBOSE: Installing backend dependencies: started VERBOSE: Installing backend dependencies: finished with status 'done' VERBOSE: Preparing metadata (pyproject.toml): started VERBOSE: Preparing metadata (pyproject.toml): finished with status 'done' VERBOSE: Collecting aiohttp-sse-client==0.2.1 (from alertapi==0.0.7) VERBOSE: Obtaining dependency information for aiohttp-sse-client==0.2.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached aiohttp_sse_client-0.2.1-py2.py3-none-any.whl.metadata (3.7 kB) VERBOSE: Collecting charset-normalizer=2.0 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for charset-normalizer=2.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached charset_normalizer-3.3.2-py3-none-any.whl.metadata (33 kB) VERBOSE: Collecting multidict=4.5 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for multidict=4.5 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached multidict-6.0.5-py3-none-any.whl.metadata (4.2 kB) VERBOSE: Collecting async-timeout=4.0.0a3 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for async-timeout=4.0.0a3 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) VERBOSE: Collecting yarl=1.0 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for yarl=1.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached yarl-1.9.4-py3-none-any.whl.metadata (31 kB) VERBOSE: Collecting frozenlist>=1.1.1 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for frozenlist>=1.1.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached frozenlist-1.4.1-py3-none-any.whl.metadata (12 kB) VERBOSE: Collecting aiosignal>=1.1.2 (from aiohttp==3.8.4->alertapi==0.0.7) VERBOSE: Obtaining dependency information for aiosignal>=1.1.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) VERBOSE: Collecting flet-runtime==0.20.2 (from flet-embed) VERBOSE: Obtaining dependency information for flet-runtime==0.20.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached flet_runtime-0.20.2-py3-none-any.whl.metadata (1.2 kB) VERBOSE: Collecting flet-core==0.20.2 (from flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for flet-core==0.20.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached flet_core-0.20.2-py3-none-any.whl.metadata (1.1 kB) VERBOSE: Collecting httpx=0.24.1 (from flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for httpx=0.24.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB) VERBOSE: Collecting oauthlib=3.2.2 (from flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for oauthlib=3.2.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB) VERBOSE: Collecting repath=0.9.0 (from flet-core==0.20.2->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for repath=0.9.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached repath-0.9.0-py3-none-any.whl.metadata (899 bytes) VERBOSE: Collecting flet (from flet_easy) VERBOSE: Obtaining dependency information for flet from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached flet-0.20.2-py3-none-any.whl.metadata (3.4 kB) VERBOSE: Collecting parse (from flet_easy) VERBOSE: Obtaining dependency information for parse from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached parse-1.20.1-py2.py3-none-any.whl.metadata (22 kB) VERBOSE: Collecting cookiecutter=2.4.0 (from flet->flet_easy) VERBOSE: Obtaining dependency information for cookiecutter=2.4.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached cookiecutter-2.6.0-py3-none-any.whl.metadata (7.3 kB) VERBOSE: Collecting packaging=23.1 (from flet->flet_easy) VERBOSE: Obtaining dependency information for packaging=23.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) VERBOSE: Collecting qrcode=7.4.2 (from flet->flet_easy) VERBOSE: Obtaining dependency information for qrcode=7.4.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached qrcode-7.4.2-py3-none-any.whl.metadata (17 kB) VERBOSE: Collecting watchdog=3.0.0 (from flet->flet_easy) VERBOSE: Using cached watchdog-3.0.0-py3-none-any.whl VERBOSE: Collecting websocket-client=1.5.2 (from flet->flet_easy) VERBOSE: Obtaining dependency information for websocket-client=1.5.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached websocket_client-1.7.0-py3-none-any.whl.metadata (7.9 kB) VERBOSE: Collecting websockets=11.0.3 (from flet->flet_easy) VERBOSE: Obtaining dependency information for websockets=11.0.3 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached websockets-11.0.3-py3-none-any.whl.metadata (6.6 kB) VERBOSE: Collecting binaryornot>=0.4.4 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB) VERBOSE: Collecting Jinja2=2.7 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for Jinja2=2.7 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) VERBOSE: Collecting click=7.0 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for click=7.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB) VERBOSE: Collecting pyyaml>=5.3.1 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Using cached PyYAML-6.0.1.tar.gz (125 kB) VERBOSE: Installing build dependencies: started VERBOSE: Installing build dependencies: finished with status 'done' VERBOSE: Getting requirements to build wheel: started VERBOSE: Getting requirements to build wheel: finished with status 'done' VERBOSE: Preparing metadata (pyproject.toml): started VERBOSE: Preparing metadata (pyproject.toml): finished with status 'done' VERBOSE: Collecting python-slugify>=4.0.0 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for python-slugify>=4.0.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB) VERBOSE: Collecting requests>=2.23.0 (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for requests>=2.23.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) VERBOSE: Collecting arrow (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for arrow from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB) VERBOSE: Collecting rich (from cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for rich from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB) VERBOSE: Collecting certifi (from httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for certifi from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) VERBOSE: Collecting httpcore=0.15.0 (from httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for httpcore=0.15.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached httpcore-0.17.3-py3-none-any.whl.metadata (18 kB) VERBOSE: Collecting idna (from httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for idna from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB) VERBOSE: Collecting sniffio (from httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for sniffio from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) VERBOSE: Collecting typing-extensions (from qrcode=7.4.2->flet->flet_easy) VERBOSE: Obtaining dependency information for typing-extensions from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB) VERBOSE: Collecting pypng (from qrcode=7.4.2->flet->flet_easy) VERBOSE: Obtaining dependency information for pypng from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached pypng-0.20220715.0-py3-none-any.whl.metadata (13 kB) VERBOSE: Collecting chardet>=3.0.2 (from binaryornot>=0.4.4->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for chardet>=3.0.2 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB) VERBOSE: Collecting h11=0.13 (from httpcore=0.15.0->httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for h11=0.13 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) VERBOSE: Collecting anyio=3.0 (from httpcore=0.15.0->httpx=0.24.1->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for anyio=3.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached anyio-4.3.0-py3-none-any.whl.metadata (4.6 kB) VERBOSE: Collecting MarkupSafe>=2.0 (from Jinja2=2.7->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Using cached MarkupSafe-2.1.5-py3-none-any.whl VERBOSE: Collecting text-unidecode>=1.3 (from python-slugify>=4.0.0->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for text-unidecode>=1.3 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB) VERBOSE: Collecting six>=1.9.0 (from repath=0.9.0->flet-core==0.20.2->flet-runtime==0.20.2->flet-embed) VERBOSE: Obtaining dependency information for six>=1.9.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) VERBOSE: Collecting urllib3=1.21.1 (from requests>=2.23.0->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for urllib3=1.21.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) VERBOSE: Collecting python-dateutil>=2.7.0 (from arrow->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for python-dateutil>=2.7.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) VERBOSE: Collecting types-python-dateutil>=2.8.10 (from arrow->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for types-python-dateutil>=2.8.10 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached types_python_dateutil-2.8.19.20240106-py3-none-any.whl.metadata (1.8 kB) VERBOSE: Collecting markdown-it-py>=2.2.0 (from rich->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) VERBOSE: Collecting pygments=2.13.0 (from rich->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for pygments=2.13.0 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) VERBOSE: Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->cookiecutter=2.4.0->flet->flet_easy) VERBOSE: Obtaining dependency information for mdurl~=0.1 from https://files.pythonhosted.org/packages ... l.metadata VERBOSE: Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) VERBOSE: Using cached aiohttp_sse_client-0.2.1-py2.py3-none-any.whl (7.0 kB) VERBOSE: Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB) VERBOSE: Using cached flet_embed-0.20.2-py3-none-any.whl (2.9 kB) VERBOSE: Using cached flet_runtime-0.20.2-py3-none-any.whl (22 kB) VERBOSE: Using cached flet_core-0.20.2-py3-none-any.whl (323 kB) VERBOSE: Using cached flet_easy-0.1.1-py3-none-any.whl (20 kB) VERBOSE: Using cached flet-0.20.2-py3-none-any.whl (2.6 MB) VERBOSE: Using cached parse-1.20.1-py2.py3-none-any.whl (20 kB) VERBOSE: Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) VERBOSE: Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) VERBOSE: Using cached charset_normalizer-3.3.2-py3-none-any.whl (48 kB) VERBOSE: Using cached cookiecutter-2.6.0-py3-none-any.whl (39 kB) VERBOSE: Using cached frozenlist-1.4.1-py3-none-any.whl (11 kB) VERBOSE: Using cached httpx-0.24.1-py3-none-any.whl (75 kB) VERBOSE: Using cached multidict-6.0.5-py3-none-any.whl (9.7 kB) VERBOSE: Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) VERBOSE: Using cached packaging-23.2-py3-none-any.whl (53 kB) VERBOSE: Using cached qrcode-7.4.2-py3-none-any.whl (46 kB) VERBOSE: Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB) VERBOSE: Using cached websockets-11.0.3-py3-none-any.whl (118 kB) VERBOSE: Using cached yarl-1.9.4-py3-none-any.whl (31 kB) VERBOSE: Using cached click-8.1.7-py3-none-any.whl (97 kB) VERBOSE: Using cached httpcore-0.17.3-py3-none-any.whl (74 kB) VERBOSE: Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) VERBOSE: Using cached idna-3.6-py3-none-any.whl (61 kB) VERBOSE: Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB) VERBOSE: Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB) VERBOSE: Using cached repath-0.9.0-py3-none-any.whl (4.7 kB) VERBOSE: Using cached requests-2.31.0-py3-none-any.whl (62 kB) VERBOSE: Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) VERBOSE: Using cached arrow-1.3.0-py3-none-any.whl (66 kB) VERBOSE: Using cached pypng-0.20220715.0-py3-none-any.whl (58 kB) VERBOSE: Using cached rich-13.7.1-py3-none-any.whl (240 kB) VERBOSE: Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB) VERBOSE: Using cached anyio-4.3.0-py3-none-any.whl (85 kB) VERBOSE: Using cached chardet-5.2.0-py3-none-any.whl (199 kB) VERBOSE: Using cached h11-0.14.0-py3-none-any.whl (58 kB) VERBOSE: Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) VERBOSE: Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB) VERBOSE: Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) VERBOSE: Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) VERBOSE: Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB) VERBOSE: Using cached types_python_dateutil-2.8.19.20240106-py3-none-any.whl (9.7 kB) VERBOSE: Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) VERBOSE: Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) VERBOSE: Building wheels for collected packages: aiohttp, pyyaml VERBOSE: Building wheel for aiohttp (pyproject.toml): started VERBOSE: Building wheel for aiohttp (pyproject.toml): finished with status 'error' The process progresses successfully up to a certain point, my case Packaging Python app..., but then stops without any further action. This are the requirements.txt

flet flet_easy alertapi==0.0.7 When I remove alertapi from the list of modules, everything is fine and I get the output of the apk file of my program


Источник: https://stackoverflow.com/questions/780 ... -the-pytho
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»