ubuntu22.04安装swagboot遇到的问题

一、基本情况

系统:u 22.04

python: 3.10

二、问题描述

swagboot官方提供的安装路径言简意赅:python3 -m pip install --user snagboot
当然安装python3和pip是基本常识,这里就不再赘述。
可是在安装的时候出现如下提示说 Failed building wheel for pylibfdt”
我尝试单独安装pylibfdt也提示类似信息。那怎么办呐?网上一时也没看到解决办法。

三、解决问题

去了pypi去查看pylibfdt的描述.发现这个库依赖一些文件:

This tree contains a copy of libfdt from the upstream dtc project for the
purposes of pypi.org packaging. Other than changes to the packaging files,
changes should be made upstream. The upstream sources are here:

git://git.kernel.org/pub/scm/utils/dtc/dtc.git


To install this you will need to install swig and Python development files.

On Debian distributions:

   sudo apt-get install swig python3-dev


The module can be installed with pip:

   pip install libfdt

or 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值