工具链构建python3 kivy错误-kivy ios,bash
我运行的命令:工具链构建python3 kivy错误-kivy ios,bash,python,ios,python-3.x,kivy,toolchain,Python,Ios,Python 3.x,Kivy,Toolchain,我运行的命令: toolchain build python3 kivy 错误为(输出): pid 30326的线程背景线程中出现异常: 回溯(最近一次呼叫最后一次): 文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py”,第926行,在bootstrap\u内部 self.run() 文件“/Library/Frameworks/Python.framework/Versions/3.
toolchain build python3 kivy
错误为(输出):
pid 30326的线程背景线程中出现异常:
回溯(最近一次呼叫最后一次):
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py”,第926行,在bootstrap\u内部
self.run()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py”,第870行,正在运行
自我目标(*自我参数,**自我参数)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第1633行,换行
fn(*rgs,**kwargs)
后台线程中的文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第2557行
句柄退出代码(退出代码)
fn中的文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第2261行
返回self.command.handle\u命令\u退出代码(退出代码)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第861行,在handle_命令_exit_代码中
加薪
sh.ErrorReturnCode_77:
运行:/Users/macbook/Desktop/Button/build/hostpython3/x86\u 64/Python-3.8.2/configure--prefix=/Users/macbook/Desktop/Button/dist/hostpython3--with openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
标准:
正在检查生成系统类型。。。x86_64-apple-darwin20.1.0
正在检查主机系统类型。。。x86_64-apple-darwin20.1.0
正在检查python3.8。。。蟒蛇3.8
正在检查--启用universalsdk。。。不
正在检查--使用通用Arch。。。不
正在检查马赫数。。。“达尔文”
正在检查gcc。。。铿锵-量化参数-fcolor诊断
正在检查C编译器是否工作。。。对
正在检查C编译器的默认输出文件名。。。a、 出去
正在检查可执行文件的后缀。。。
正在检查我们是否正在交叉编译。。。不
正在检查对象文件的后缀。。。o
正在检查我们是否正在使用GNU C编译器。。。对
正在检查clang-Quused参数-fcolor diagnostics是否接受-g。。。对
正在检查铿锵-使用的参数-fcolor诊断选项。。。(17382更多,请参见e.stdout)
标准:
[INFO]cd/Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2
回溯(最近一次呼叫最后一次):
文件“/Library/Frameworks/Python.framework/Versions/3.7/bin/toolchain”,第10行,在
sys.exit(main())
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第1497行,在main中
工具链cl()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第1270行,在__
getattr(self,args.command)()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第1323行,内部版本
构建配方(args.recipe,ctx)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第1121行,内建配方
recipe.execute()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第700行,在execute中
self.build_all()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第85行,在缓存执行中
f(自我,*args,**kwargs)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第794行,内部版本
自建(拱门)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第85行,在缓存执行中
f(自我,*args,**kwargs)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第781行,内部版本
自建拱门(拱门)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第833行,内建
getattr(自我,构建)()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/recipes/hostpython3/_________.py”,第70行,在build_x86_64中
_环境=构建(环境)
shprint中的文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/kivy_ios/toolchain.py”,第67行
对于cmd中的行:
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,下一页第907行
self.wait()
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第837行,正在等待
self.handle\u命令\u退出代码(退出代码)
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/sh.py”,第861行,在handle_命令_exit_代码中
加薪
sh.ErrorReturnCode_77:
运行:/Users/macbook/Desktop/Button/build/hostpython3/x86\u 64/Python-3.8.2/configure--prefix=/Users/macbook/Desktop/Button/dist/hostpython3--with openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
标准:
正在检查生成系统类型。。。x86_64-apple-darwin20.1.0
正在检查主机系统类型。。。x86_64-apple-darwin20.1.0
正在检查python3.8。。。蟒蛇3.8
正在检查--启用universalsdk。。。不
正在检查--使用通用Arch。。。不
正在检查马赫数。。。“达尔文”
正在检查gcc。。。铿锵-量化参数-fcolor诊断
正在检查C编译器是否工作。。。对
正在检查C编译器的默认输出文件名。。。a、 出去
正在检查可执行文件的后缀。。。
正在检查我们是否正在交叉编译。。。不
正在检查对象文件的后缀。。。o
正在检查我们是否正在使用GNU C编译器。。。对
正在检查clang-Quused参数-fcolor diagnostics是否接受-g。。。对
正在检查铿锵-使用的参数-fcolor诊断选项。。。(17382更多,请参见e.stdout)
标准:
我还尝试了git clonekivy ios,但它给出了相同的错误
如果你说buildpython2,它就不起作用了
我在等答案
对于堆栈溢出控件,我将复制粘贴
Exception in thread background thread for pid 30326:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 1633, in wrap
fn(*rgs, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 2557, in background_thread
handle_exit_code(exit_code)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 2261, in fn
return self.command.handle_command_exit_code(exit_code)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_77:
RAN: /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2/configure --prefix=/Users/macbook/Desktop/Button/dist/hostpython3 --with-openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
STDOUT:
checking build system type... x86_64-apple-darwin20.1.0
checking host system type... x86_64-apple-darwin20.1.0
checking for python3.8... python3.8
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "darwin"
checking for gcc... clang -Qunused-arguments -fcolor-diagnostics
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -Qunused-arguments -fcolor-diagnostics accepts -g... yes
checking for clang -Qunused-arguments -fcolor-diagnostics opt... (17382 more, please see e.stdout)
STDERR:
[INFO ] cd /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/toolchain", line 10, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1497, in main
ToolchainCL()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1270, in __init__
getattr(self, args.command)()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1323, in build
build_recipes(args.recipe, ctx)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 1121, in build_recipes
recipe.execute()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 700, in execute
self.build_all()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 794, in build_all
self.build(arch)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 781, in build
self.build_arch(arch)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 833, in build_arch
getattr(self, build)()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/recipes/hostpython3/__init__.py", line 70, in build_x86_64
_env=build_env)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/kivy_ios/toolchain.py", line 67, in shprint
for line in cmd:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 907, in next
self.wait()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 837, in wait
self.handle_command_exit_code(exit_code)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_77:
RAN: /Users/macbook/Desktop/Button/build/hostpython3/x86_64/Python-3.8.2/configure --prefix=/Users/macbook/Desktop/Button/dist/hostpython3 --with-openssl=/Users/macbook/Desktop/Button/dist/hostopenssl
STDOUT:
checking build system type... x86_64-apple-darwin20.1.0
checking host system type... x86_64-apple-darwin20.1.0
checking for python3.8... python3.8
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "darwin"
checking for gcc... clang -Qunused-arguments -fcolor-diagnostics
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -Qunused-arguments -fcolor-diagnostics accepts -g... yes
checking for clang -Qunused-arguments -fcolor-diagnostics opt... (17382 more, please see e.stdout)
STDERR: