Python yocto poky上是否有其他pyinstaller替代品?
我无法在Yocto angstrom上安装pyinstaller 有人可以建议如何安装或建议我可以使用任何其他替代品来代替pyinstaller吗 如果尝试使用pip进行安装,则会出现以下错误:Python yocto poky上是否有其他pyinstaller替代品?,python,pyinstaller,yocto,Python,Pyinstaller,Yocto,我无法在Yocto angstrom上安装pyinstaller 有人可以建议如何安装或建议我可以使用任何其他替代品来代替pyinstaller吗 如果尝试使用pip进行安装,则会出现以下错误: pip install pyinstaller Collecting pyinstaller Using cached pyinstaller-4.1.tar.gz (3.5 MB) Installing build dependencies ... done Getting requir
pip install pyinstaller
Collecting pyinstaller
Using cached pyinstaller-4.1.tar.gz (3.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python /usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpQ_0Ckx
cwd: /tmp/pip-install-SBb07L/pyinstaller
Complete output (19 lines):
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-zCrEfW/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-zCrEfW/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-zCrEfW/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 243, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-zCrEfW/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 63
file=sys.stderr)
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python /usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpQ_0Ckx Check the logs for full command output.
pip安装程序
收集pyinstaller
使用缓存的pyinstaller-4.1.tar.gz(3.5 MB)
正在安装生成依赖项。。。完成
获取构建轮子的需求。。。错误
错误:命令出错,退出状态为1:
命令:/usr/bin/python/usr/lib/python2.7/site-packages/pip//u vendor/pep517//u in_process.py get_需要_构建_wheel/tmp/tmpQ_0Ckx
cwd:/tmp/pip-install-SBb07L/pyinstaller
完整输出(19行):
回溯(最近一次呼叫最后一次):
文件“/usr/lib/python2.7/site packages/pip/_vendor/pep517/_in_process.py”,第280行,在
main()
文件“/usr/lib/python2.7/site packages/pip/_vendor/pep517/_in_process.py”,主文件第263行
json_out['return_val']=hook(**hook_输入['kwargs'])
文件“/usr/lib/python2.7/site packages/pip/_vendor/pep517/_in_process.py”,get_requires_for_build_wheel中第114行
返回挂钩(配置设置)
文件“/tmp/pip build env zCrEfW/overlay/lib/python2.7/site packages/setuptools/build_meta.py”,get_requires_for_build_wheel中的第146行
返回self.\u获取\u构建\u需要(配置设置,要求=['wheel'])
文件“/tmp/pip build env zCrEfW/overlay/lib/python2.7/site packages/setuptools/build\u meta.py”,第127行,在“获取构建”中
self.run_setup()
文件“/tmp/pip build env zCrEfW/overlay/lib/python2.7/site packages/setuptools/build_meta.py”,第243行,在运行设置中
self)。运行安装程序(安装程序脚本=安装程序脚本)
文件“/tmp/pip build env zCrEfW/overlay/lib/python2.7/site packages/setuptools/build_meta.py”,运行设置中第142行
exec(编译(代码、文件、exec)、局部变量()
文件“setup.py”,第63行
文件=sys.stderr)
^
SyntaxError:无效语法
----------------------------------------
错误:命令出错,退出状态为1:/usr/bin/python/usr/lib/python2.7/site-packages/pip//u vendor/pep517//u in_process.py get_需要_构建_wheel/tmp/tmpQ_0Ckx检查日志以获得完整的命令输出。
请为输出使用代码格式化程序,并包括您尝试过的内容。该项目(pyinstaller)与python<3.5不兼容。您正在运行Python2.7