我正在尝试在嵌入式Linux上设置python3-pillow。 我安装了 opkg,到目前为止,当我用它安装几个 .ipk 时它就可以工作了
当我尝试安装 python3-pillow_8.3.2-r0_cortexa72.ipk 时,它指示了几个要求,因此我安装相应的 .ipk 直到达到对 python3-crypt 的依赖关系
当我尝试安装它时,我得到以下信息
/var/tmp# opkg install python3-crypt_3.9.9-r0_cortexa72.ipk
* - nothing provides python3-math needed by python3-crypt-3.9.9-r0.cortexa72
正如我到目前为止所做的那样,我得到了 python3-math ipk 并尝试安装它,然后我得到了
/var/tmp# opkg install python3-math_3.9.9-r0_cortexa72.ipk
* - nothing provides python3-crypt needed by python3-math-3.9.9-r0.cortexa72
问题在于,两个库相互依赖??? 我尝试获取有关每个库的更多信息:
:/var/tmp# opkg info python3-crypt_3.9.9-r0_cortexa72.ipk
Package: python3-crypt
Version: 3.9.9-r0
Depends: libc6 (>= 2.34), libcrypt2 (>= 4.4.25), libcrypto1.1 (>= 1.1.1o), python3-core, python3-math, python3-stringold
Recommends: ca-certificates, openssl
Status: unknown ok not-installed
Section: devel/python
Architecture: cortexa72
Maintainer: Poky <[email protected]>
Source: python3_3.9.9.bb
Description: Python basic cryptographic and hashing support
Python is a programming language that lets you work more quickly and
integrate your systems more effectively.
:/var/tmp# opkg info python3-math_3.9.9-r0_cortexa72.ipk
Package: python3-math
Version: 3.9.9-r0
Depends: libc6 (>= 2.34), python3-core, python3-crypt
Status: unknown ok not-installed
Section: devel/python
Architecture: cortexa72
Maintainer: Poky <[email protected]>
Source: python3_3.9.9.bb
Description: Python math support
Python is a programming language that lets you work more quickly and
integrate your systems more effectively.
两者相互依赖......所以我无法安装任何一个。 有解决办法吗?
我当前的python3版本是3.9.9
嗯,我有点惊讶,但是同时安装两者就解决了问题!
我只需要先安装 python3-stringold
root@raspberrypi4-64:/var/tmp# opkg install python3-math_3.9.9-r0_cortexa72.ipk python3-crypt_3.9.9-r0_cortexa72.ipk
Installing python3-crypt (3.9.9) on root
Installing python3-math (3.9.9) on root