Как исправить ошибку при компилции python скрипта в buildozer?
Здравствуйте. При запуске компиляции скрипта на python в buildozer, он выводит ошибку. При запуске используется команда buildozer android debug. Использую ubuntu 19.04. Вот ошибка:
Exception in thread background thread for pid 7628:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 1540, in wrap
fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 2459, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 2157, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1189, in
main()
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1183, in main
ToolchainCL()
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 666, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 152, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 205, in build_dist_from_args
args, "ignore_setup_py", False
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 557, in build_recipes
recipe.build_arch(arch)
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/openssl/__init__.py", line 135, in build_arch
shprint(sh.make, 'build_libs', _env=env)
File "/home/coder/tic/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 178, in shprint
for line in output:
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 863, in next
self.wait()
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.7/dist-packages/sh-1.12.14-py3.7.egg/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2: