ubuntu中安装petalinux提示ERROR: Failed to install Yocto SDK for aarch64的处理方式之一

问题如下:

。。。。

INFO: Installing PetaLinux...
*********************************************
WARNING: PetaLinux installation directory: /opt/pkg/petalinux/. is not empty!
*********************************************
Please input "y" to continue to install PetaLinux in that directory?[n]y
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "/opt/pkg/petalinux/."
INFO: Installing aarch64 Yocto SDK to "/opt/pkg/petalinux/./components/yocto/source/aarch64"...
*********************************************
ERROR: Failed to install Yocto SDK for aarch64.
*********************************************

Please refer to the PetaLinux Tools Installation Guide.

Check the troubleshooting guide at the end of that manual, and if you are
unable to resolve the issue please contact customer support with file:
   /home/***/Tools/work/petalinux_installation_log
 

原因之一:

抛开其它博文中普遍提到的:

可参考:https://blog.csdn.net/mcupro/article/details/91973744

1. 需先安装相关库;

2. 切换到bash;

3. 不要使用root模式安装;

等等。

 

我碰到的一个情况是:系统中还未安装python,并且需要是v2.xx版本。

其实这点,可以从安装fail时的log文件/home/***/Tools/work/petalinux_installation_log

中看到提示(早没想到直接去看看,折腾半天时间。。。)

sudo  apt install python

之后重新安装petalinux,注意最好吧原目录中的log文件删掉,最终,成功

。。

INFO: PetaLinux SDK has been installed to /opt/pkg/petalinux/.
 

 

 

 

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值