\n
[DEBUG]: TraversableResources\u001b[0m\r\n[DEBUG]: \u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\n[DEBUG]: on3\/desktop\/hostpython3\/Lib\/importlib\/resources\/__init__.py\", line 3, in\r\n[DEBUG]: <module>\u001b[0m\r\n[DEBUG]: \u001b[2m< from ._common import (\u001b[0m\r\n[DEBUG]: \u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\n[DEBUG]: on3\/desktop\/hostpython3\/Lib\/importlib\/resources\/_common.py\", line 3, in\r\n[DEBUG]: <module>\u001b[0m\r\n[DEBUG]: \u001b[2m< import tempfile\u001b[0m\r\n[DEBUG]: \u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\n[DEBUG]: android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/tempfile.py\",\r\n[DEBUG]: line 45, in <module>\u001b[0m\r\n[DEBUG]: \u001b[2m< from random import Random as _Random\u001b[0m\r\n[DEBUG]: \u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\n[DEBUG]: android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/random.py\",\r\n[DEBUG]: line 49, in <module>\u001b[0m\r\n[DEBUG]: \u001b[2m< from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as\r\n[DEBUG]: _ceil\u001b[0m\r\n[DEBUG]: \u001b[2m< ModuleNotFoundError: No module named 'math'\u001b[0m\r\n[DEBUG]: \u001b[2m\u001b[0m\r\n[DEBUG]:\r\n[DEBUG]: \u001b[2mTraceback (most recent call last):\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 178, in _handle_build_error\r\n[DEBUG]: yield\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 429, in main\r\n[DEBUG]: built = build_call(\r\n[DEBUG]: ^^^^^^^^^^^\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 238, in build_package\r\n[DEBUG]: out = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)\r\n[DEBUG]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 170, in _build\r\n[DEBUG]: return _build_in_isolated_env(srcdir, outdir, distribution, config_settings, installer)\r\n[DEBUG]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 137, in _build_in_isolated_env\r\n[DEBUG]: env.install(builder.get_requires_for_build(distribution, config_settings or {}))\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 136, in install\r\n[DEBUG]: self._env_backend.install_requirements(requirements)\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 265, in install_requirements\r\n[DEBUG]: run_subprocess(cmd)\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/_ctx.py\", line 71, in run_subprocess\r\n[DEBUG]: subprocess.run(cmd, capture_output=True, check=True, env=env)\r\n[DEBUG]: File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/subprocess.py\", line 571, in run\r\n[DEBUG]: raise CalledProcessError(retcode, process.args,\r\n[DEBUG]: subprocess.CalledProcessError: Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\u001b[0m\r\n[DEBUG]:\r\n[DEBUG]: \u001b[91mERROR\u001b[0m Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\r\nException in thread background thread for pid 43562:\r\nTraceback (most recent call last):\r\nFile \"\/usr\/lib\/python3.11\/threading.py\", line 1045, in _bootstrap_inner\r\nself.run()\r\nFile \"\/usr\/lib\/python3.11\/threading.py\", line 982, in run\r\nself._target(*self._args, **self._kwargs)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 1641, in wrap\r\nfn(*rgs, **kwargs)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 2569, in background_thread\r\nhandle_exit_code(exit_code)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 2269, in fn\r\nreturn self.command.handle_command_exit_code(exit_code)\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 869, in handle_command_exit_code\r\nraise exc\r\nsh.ErrorReturnCode_1:\r\n\r\nRAN: \/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3 -m build --wheel --config-setting builddir=\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/numpy\/armeabi-v7a__ndk_target_24\/numpy\/p4a_android_build -Csetup-args=-Dblas=none -Csetup-args=-Dlapack=none -Csetup-args=--cross-file -Csetup-args=\/tmp\/android.meson.cross\r\n\r\nSTDOUT:\r\n\u001b[1m* Creating isolated environment: venv+pip...\u001b[0m\r\n\u001b[1m* Installing packages in isolated environment:\u001b[0m\r\n- Cython>=0.29.34,<3.1\r\n- meson-python>=0.15.0,<0.16.0\r\n\u001b[1m* Getting build dependencies for wheel...\u001b[0m\r\nIgnoring \"sys._home = value\" override\r\n\u001b[1m* Installing packages in isolated environment:\u001b[0m\r\n- patchelf >= 0.11.0\r\n\u001b[2m> \/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-\r\nv7a__ndk_target_24\/python3\/android-build\/python3 -m pip --python \/tmp\/build-\r\nenv-7t6ydg_0\/bin\/python install --use-pep517 --no-warn-script-location --no-\r\ncompile -r \/tmp\/build-reqs-13ujn8zf.txt\u001b[0m\r\n\u001b[2m< Collecting patchelf>=0.11.0 (from -r \/tmp\/build-reqs-13ujn8zf.txt (line 1))\u001b[0m\r\n\u001b[2m< Using cached patchelf-0.17.2.1.tar.gz (167 kB)\u001b[0m\r\n\u001b[2m< Installing build dependencies: started\u001b[0m\r\n\u001b[2m< Installing build dependencies: finished with status 'done'\u001b[0m\r\n\u001b[2m< Getting requirements to build wheel: started\u001b[0m\r\n\u001b[2m< Getting requirements to build wheel: finished with status 'done'\u001b[0m\r\n\u001b[2m< Ignoring \"sys._home = value\" override\u001b[0m\r\n\u001b[2m< ERROR: Exception:\u001b[0m\r\n\u001b[2m< Traceback (most recent call last):\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/cli\/base_command.py\", line 180, in\r\nexc_logging_wrapper\u001b[0m\r\n\u001b[2m< status = run_func(*args)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/cli\/req_command.py\", line 245, in\r\nwrapper\u001b[0m\r\n\u001b[2m< return func(self, options, args)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/commands\/install.py\", line 377, in run\u001b[0m\r\n\u001b[2m< requirement_set = resolver.resolve(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/resolver.py\",\r\nline 95, in resolve\u001b[0m\r\n\u001b[2m< result = self._result = resolver.resolve(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 546, in\r\nresolve\u001b[0m\r\n\u001b[2m< state = resolution.resolve(requirements, max_rounds=max_rounds)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 397, in\r\nresolve\u001b[0m\r\n\u001b[2m< self._add_to_criteria(self.state.criteria, r, parent=None)\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 173, in\r\n_add_to_criteria\u001b[0m\r\n\u001b[2m< if not criterion.candidates:\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/structs.py\", line 156, in\r\n__bool__\u001b[0m\r\n\u001b[2m< return bool(self._sequence)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 155,\r\nin __bool__\u001b[0m\r\n\u001b[2m< return any(self)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 143,\r\nin <genexpr>\u001b[0m\r\n\u001b[2m< return (c for c in iterator if id(c) not in self._incompatible_ids)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 47,\r\nin _iter_built\u001b[0m\r\n\u001b[2m< candidate = func()\u001b[0m\r\n\u001b[2m< ^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/factory.py\",\r\nline 182, in _make_candidate_from_link\u001b[0m\r\n\u001b[2m< base: Optional[BaseCandidate] = self._make_base_candidate_from_link(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/factory.py\",\r\nline 228, in _make_base_candidate_from_link\u001b[0m\r\n\u001b[2m< self._link_candidate_cache[link] = LinkCandidate(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 290, in __init__\u001b[0m\r\n\u001b[2m< super().__init__(\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 156, in __init__\u001b[0m\r\n\u001b[2m< self.dist = self._prepare()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 222, in _prepare\u001b[0m\r\n\u001b[2m< dist = self._prepare_distribution()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 301, in _prepare_distribution\u001b[0m\r\n\u001b[2m< return preparer.prepare_linked_requirement(self._ireq,\r\nparallel_builds=True)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 525, in\r\nprepare_linked_requirement\u001b[0m\r\n\u001b[2m< return self._prepare_linked_requirement(req, parallel_builds)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 640, in\r\n_prepare_linked_requirement\u001b[0m\r\n\u001b[2m< dist = _get_prepared_distribution(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 71, in\r\n_get_prepared_distribution\u001b[0m\r\n\u001b[2m< abstract_dist.prepare_distribution_metadata(\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 54, in\r\nprepare_distribution_metadata\u001b[0m\r\n\u001b[2m< self._install_build_reqs(finder)\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 124, in\r\n_install_build_reqs\u001b[0m\r\n\u001b[2m< build_reqs = self._get_build_requires_wheel()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 101, in\r\n_get_build_requires_wheel\u001b[0m\r\n\u001b[2m< return backend.get_requires_for_build_wheel()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/utils\/misc.py\", line 745, in\r\nget_requires_for_build_wheel\u001b[0m\r\n\u001b[2m< return super().get_requires_for_build_wheel(config_settings=cs)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/pyproject_hooks\/_impl.py\", line 166, in\r\nget_requires_for_build_wheel\u001b[0m\r\n\u001b[2m< return self._call_hook('get_requires_for_build_wheel', {\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/pyproject_hooks\/_impl.py\", line 321, in\r\n_call_hook\u001b[0m\r\n\u001b[2m< raise BackendUnavailable(data.get('traceback', ''))\u001b[0m\r\n\u001b[2m< pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent\r\ncall last):\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_vendor\/pyproject_hooks\/_in_process\/_in_process.py\", line 77,\r\nin _build_backend\u001b[0m\r\n\u001b[2m< obj = import_module(mod_path)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/__init__.py\", line 126, in\r\nimport_module\u001b[0m\r\n\u001b[2m< return _bootstrap._gcd_import(name[level:], package, level)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1204, in _gcd_import\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1176, in _find_and_load\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1126, in\r\n_find_and_load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 241, in\r\n_call_with_frames_removed\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1204, in _gcd_import\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1176, in _find_and_load\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1147, in\r\n_find_and_load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 690, in _load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap_external>\", line 940, in exec_module\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 241, in\r\n_call_with_frames_removed\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/setuptools\/__init__.py\", line 8, in <module>\u001b[0m\r\n\u001b[2m< import _distutils_hack.override # noqa: F401\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/override.py\", line 1, in <module>\u001b[0m\r\n\u001b[2m< __import__('_distutils_hack').do_override()\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 70, in do_override\u001b[0m\r\n\u001b[2m< ensure_local_distutils()\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 53, in ensure_local_distutils\u001b[0m\r\n\u001b[2m< importlib.import_module('distutils')\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/__init__.py\", line 126, in\r\nimport_module\u001b[0m\r\n\u001b[2m< return _bootstrap._gcd_import(name[level:], package, level)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 90, in find_spec\u001b[0m\r\n\u001b[2m< return method()\u001b[0m\r\n\u001b[2m< ^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 97, in spec_for_distutils\u001b[0m\r\n\u001b[2m< import importlib.abc\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/abc.py\", line 19, in <module>\u001b[0m\r\n\u001b[2m< from .resources.abc import ResourceReader, Traversable,\r\nTraversableResources\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/resources\/__init__.py\", line 3, in\r\n<module>\u001b[0m\r\n\u001b[2m< from ._common import (\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/resources\/_common.py\", line 3, in\r\n<module>\u001b[0m\r\n\u001b[2m< import tempfile\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/tempfile.py\",\r\nline 45, in <module>\u001b[0m\r\n\u001b[2m< from random import Random as _Random\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/random.py\",\r\nline 49, in <module>\u001b[0m\r\n\u001b[2m< from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as\r\n_ceil\u001b[0m\r\n\u001b[2m< ModuleNotFoundError: No module named 'math'\u001b[0m\r\n\u001b[2m\u001b[0m\r\n\r\n\u001b[2mTraceback (most recent call last):\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 178, in _handle_build_error\r\nyield\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 429, in main\r\nbuilt = build_call(\r\n^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 238, in build_package\r\nout = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 170, in _build\r\nreturn _build_in_isolated_env(srcdir, outdir, distribution, config_settings, installer)\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 137, in _build_in_isolated_env\r\nenv.install(builder.get_requires_for_build(distribution, config_settings or {}))\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 136, in install\r\nself._env_backend.install_requirements(requirements)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 265, in install_requirements\r\nrun_subprocess(cmd)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/_ctx.py\", line 71, in run_subprocess\r\nsubprocess.run(cmd, capture_output=True, check=True, env=env)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/subprocess.py\", line 571, in run\r\nraise CalledProcessError(retcode, process.args,\r\nsubprocess.CalledProcessError: Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\u001b[0m\r\n\r\n\u001b[91mERROR\u001b[0m Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\r\n\r\n\r\nSTDERR:\r\n\r\nTraceback (most recent call last):\r\nFile \"\/home\/gk\/.local\/bin\/p4a\", line 9, in <module>\r\nsys.exit(main())\r\n^^^^^^\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/entrypoints.py\", line 18, in main\r\nToolchainCL()\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/toolchain.py\", line 685, in __init__\r\ngetattr(self, command)(args)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/toolchain.py\", line 104, in wrapper_func\r\nbuild_dist_from_args(ctx, dist, args)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/toolchain.py\", line 163, in build_dist_from_args\r\nbuild_recipes(build_order, python_modules, ctx,\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/build.py\", line 504, in build_recipes\r\nrecipe.build_arch(arch)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/recipes\/numpy\/__init__.py\", line 47, in build_arch\r\nsuper().build_arch(arch)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/recipe.py\", line 1346, in build_arch\r\nsuper().build_arch(arch)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/recipe.py\", line 1252, in build_arch\r\nshprint(\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/pythonforandroid\/logger.py\", line 167, in shprint\r\nfor line in output:\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 915, in next\r\nself.wait()\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 845, in wait\r\nself.handle_command_exit_code(exit_code)\r\nFile \"\/home\/gk\/.local\/lib\/python3.11\/site-packages\/sh.py\", line 869, in handle_command_exit_code\r\nraise exc\r\nsh.ErrorReturnCode_1:\r\n\r\nRAN: \/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3 -m build --wheel --config-setting builddir=\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/numpy\/armeabi-v7a__ndk_target_24\/numpy\/p4a_android_build -Csetup-args=-Dblas=none -Csetup-args=-Dlapack=none -Csetup-args=--cross-file -Csetup-args=\/tmp\/android.meson.cross\r\n\r\nSTDOUT:\r\n\u001b[1m* Creating isolated environment: venv+pip...\u001b[0m\r\n\u001b[1m* Installing packages in isolated environment:\u001b[0m\r\n- Cython>=0.29.34,<3.1\r\n- meson-python>=0.15.0,<0.16.0\r\n\u001b[1m* Getting build dependencies for wheel...\u001b[0m\r\nIgnoring \"sys._home = value\" override\r\n\u001b[1m* Installing packages in isolated environment:\u001b[0m\r\n- patchelf >= 0.11.0\r\n\u001b[2m> \/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-\r\nv7a__ndk_target_24\/python3\/android-build\/python3 -m pip --python \/tmp\/build-\r\nenv-7t6ydg_0\/bin\/python install --use-pep517 --no-warn-script-location --no-\r\ncompile -r \/tmp\/build-reqs-13ujn8zf.txt\u001b[0m\r\n\u001b[2m< Collecting patchelf>=0.11.0 (from -r \/tmp\/build-reqs-13ujn8zf.txt (line 1))\u001b[0m\r\n\u001b[2m< Using cached patchelf-0.17.2.1.tar.gz (167 kB)\u001b[0m\r\n\u001b[2m< Installing build dependencies: started\u001b[0m\r\n\u001b[2m< Installing build dependencies: finished with status 'done'\u001b[0m\r\n\u001b[2m< Getting requirements to build wheel: started\u001b[0m\r\n\u001b[2m< Getting requirements to build wheel: finished with status 'done'\u001b[0m\r\n\u001b[2m< Ignoring \"sys._home = value\" override\u001b[0m\r\n\u001b[2m< ERROR: Exception:\u001b[0m\r\n\u001b[2m< Traceback (most recent call last):\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/cli\/base_command.py\", line 180, in\r\nexc_logging_wrapper\u001b[0m\r\n\u001b[2m< status = run_func(*args)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/cli\/req_command.py\", line 245, in\r\nwrapper\u001b[0m\r\n\u001b[2m< return func(self, options, args)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/commands\/install.py\", line 377, in run\u001b[0m\r\n\u001b[2m< requirement_set = resolver.resolve(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/resolver.py\",\r\nline 95, in resolve\u001b[0m\r\n\u001b[2m< result = self._result = resolver.resolve(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 546, in\r\nresolve\u001b[0m\r\n\u001b[2m< state = resolution.resolve(requirements, max_rounds=max_rounds)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 397, in\r\nresolve\u001b[0m\r\n\u001b[2m< self._add_to_criteria(self.state.criteria, r, parent=None)\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/resolvers.py\", line 173, in\r\n_add_to_criteria\u001b[0m\r\n\u001b[2m< if not criterion.candidates:\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/resolvelib\/structs.py\", line 156, in\r\n__bool__\u001b[0m\r\n\u001b[2m< return bool(self._sequence)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 155,\r\nin __bool__\u001b[0m\r\n\u001b[2m< return any(self)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 143,\r\nin <genexpr>\u001b[0m\r\n\u001b[2m< return (c for c in iterator if id(c) not in self._incompatible_ids)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_internal\/resolution\/resolvelib\/found_candidates.py\", line 47,\r\nin _iter_built\u001b[0m\r\n\u001b[2m< candidate = func()\u001b[0m\r\n\u001b[2m< ^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/factory.py\",\r\nline 182, in _make_candidate_from_link\u001b[0m\r\n\u001b[2m< base: Optional[BaseCandidate] = self._make_base_candidate_from_link(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/factory.py\",\r\nline 228, in _make_base_candidate_from_link\u001b[0m\r\n\u001b[2m< self._link_candidate_cache[link] = LinkCandidate(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 290, in __init__\u001b[0m\r\n\u001b[2m< super().__init__(\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 156, in __init__\u001b[0m\r\n\u001b[2m< self.dist = self._prepare()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 222, in _prepare\u001b[0m\r\n\u001b[2m< dist = self._prepare_distribution()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/resolution\/resolvelib\/candidates.py\",\r\nline 301, in _prepare_distribution\u001b[0m\r\n\u001b[2m< return preparer.prepare_linked_requirement(self._ireq,\r\nparallel_builds=True)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 525, in\r\nprepare_linked_requirement\u001b[0m\r\n\u001b[2m< return self._prepare_linked_requirement(req, parallel_builds)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 640, in\r\n_prepare_linked_requirement\u001b[0m\r\n\u001b[2m< dist = _get_prepared_distribution(\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/operations\/prepare.py\", line 71, in\r\n_get_prepared_distribution\u001b[0m\r\n\u001b[2m< abstract_dist.prepare_distribution_metadata(\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 54, in\r\nprepare_distribution_metadata\u001b[0m\r\n\u001b[2m< self._install_build_reqs(finder)\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 124, in\r\n_install_build_reqs\u001b[0m\r\n\u001b[2m< build_reqs = self._get_build_requires_wheel()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/distributions\/sdist.py\", line 101, in\r\n_get_build_requires_wheel\u001b[0m\r\n\u001b[2m< return backend.get_requires_for_build_wheel()\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_internal\/utils\/misc.py\", line 745, in\r\nget_requires_for_build_wheel\u001b[0m\r\n\u001b[2m< return super().get_requires_for_build_wheel(config_settings=cs)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/pyproject_hooks\/_impl.py\", line 166, in\r\nget_requires_for_build_wheel\u001b[0m\r\n\u001b[2m< return self._call_hook('get_requires_for_build_wheel', {\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-packages\/pip\/_vendor\/pyproject_hooks\/_impl.py\", line 321, in\r\n_call_hook\u001b[0m\r\n\u001b[2m< raise BackendUnavailable(data.get('traceback', ''))\u001b[0m\r\n\u001b[2m< pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent\r\ncall last):\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-\r\nbuild\/Lib\/site-\r\npackages\/pip\/_vendor\/pyproject_hooks\/_in_process\/_in_process.py\", line 77,\r\nin _build_backend\u001b[0m\r\n\u001b[2m< obj = import_module(mod_path)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/__init__.py\", line 126, in\r\nimport_module\u001b[0m\r\n\u001b[2m< return _bootstrap._gcd_import(name[level:], package, level)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1204, in _gcd_import\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1176, in _find_and_load\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1126, in\r\n_find_and_load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 241, in\r\n_call_with_frames_removed\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1204, in _gcd_import\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1176, in _find_and_load\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 1147, in\r\n_find_and_load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 690, in _load_unlocked\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap_external>\", line 940, in exec_module\u001b[0m\r\n\u001b[2m< File \"<frozen importlib._bootstrap>\", line 241, in\r\n_call_with_frames_removed\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/setuptools\/__init__.py\", line 8, in <module>\u001b[0m\r\n\u001b[2m< import _distutils_hack.override # noqa: F401\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/override.py\", line 1, in <module>\u001b[0m\r\n\u001b[2m< __import__('_distutils_hack').do_override()\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 70, in do_override\u001b[0m\r\n\u001b[2m< ensure_local_distutils()\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 53, in ensure_local_distutils\u001b[0m\r\n\u001b[2m< importlib.import_module('distutils')\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/__init__.py\", line 126, in\r\nimport_module\u001b[0m\r\n\u001b[2m< return _bootstrap._gcd_import(name[level:], package, level)\u001b[0m\r\n\u001b[2m< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 90, in find_spec\u001b[0m\r\n\u001b[2m< return method()\u001b[0m\r\n\u001b[2m< ^^^^^^^^\u001b[0m\r\n\u001b[2m< File \"\/tmp\/pip-build-env-n81m5fxa\/overlay\/lib\/python3.11\/site-\r\npackages\/_distutils_hack\/__init__.py\", line 97, in spec_for_distutils\u001b[0m\r\n\u001b[2m< import importlib.abc\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/abc.py\", line 19, in <module>\u001b[0m\r\n\u001b[2m< from .resources.abc import ResourceReader, Traversable,\r\nTraversableResources\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/resources\/__init__.py\", line 3, in\r\n<module>\u001b[0m\r\n\u001b[2m< from ._common import (\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpyth\r\non3\/desktop\/hostpython3\/Lib\/importlib\/resources\/_common.py\", line 3, in\r\n<module>\u001b[0m\r\n\u001b[2m< import tempfile\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/tempfile.py\",\r\nline 45, in <module>\u001b[0m\r\n\u001b[2m< from random import Random as _Random\u001b[0m\r\n\u001b[2m< File \"\/home\/gk\/.local\/share\/python-for-\r\nandroid\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/random.py\",\r\nline 49, in <module>\u001b[0m\r\n\u001b[2m< from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as\r\n_ceil\u001b[0m\r\n\u001b[2m< ModuleNotFoundError: No module named 'math'\u001b[0m\r\n\u001b[2m\u001b[0m\r\n\r\n\u001b[2mTraceback (most recent call last):\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 178, in _handle_build_error\r\nyield\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 429, in main\r\nbuilt = build_call(\r\n^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 238, in build_package\r\nout = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 170, in _build\r\nreturn _build_in_isolated_env(srcdir, outdir, distribution, config_settings, installer)\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/__main__.py\", line 137, in _build_in_isolated_env\r\nenv.install(builder.get_requires_for_build(distribution, config_settings or {}))\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 136, in install\r\nself._env_backend.install_requirements(requirements)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/env.py\", line 265, in install_requirements\r\nrun_subprocess(cmd)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/native-build\/Lib\/site-packages\/build\/_ctx.py\", line 71, in run_subprocess\r\nsubprocess.run(cmd, capture_output=True, check=True, env=env)\r\nFile \"\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/subprocess.py\", line 571, in run\r\nraise CalledProcessError(retcode, process.args,\r\nsubprocess.CalledProcessError: Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\u001b[0m\r\n\r\n\u001b[91mERROR\u001b[0m Command '['\/home\/gk\/.local\/share\/python-for-android\/build\/other_builds\/python3\/armeabi-v7a__ndk_target_24\/python3\/android-build\/python3', '-m', 'pip', '--python', '\/tmp\/build-env-7t6ydg_0\/bin\/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '\/tmp\/build-reqs-13ujn8zf.txt']' returned non-zero exit status 2.\r\n\r\n\r\nSTDERR:<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"While building an Python based android app you may encounter the following error \u001b[2m< from random import Random as _Random\u001b[0m \u001b[2m< File “\/home\/gk\/.local\/share\/python-for- android\/build\/other_builds\/hostpython3\/desktop\/hostpython3\/Lib\/random.py”, line 49, in <module>\u001b[0m \u001b[2m< from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil\u001b[0m \u001b[2m< ModuleNotFoundError: No module named ‘math’\u001b[0m\u001b[2m\u001b[0m This is […]<\/p>\n","protected":false},"author":1,"featured_media":514,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[543],"tags":[564,554,558,557,568,556,562,563,561],"yoast_head":"\n
Solve No module named math during building app in python for android or buildozer - Techris Innovation Hub<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n\t \n\t \n\t \n