Han*_*gon 5 python linux arm numpy cross-compiling
I know this question have been posted before. But I couldn't find a complete answer on how to do it.
I would like to use python packages with C extensions such as Numpy and Twisted in an embedded system (platform architecture: ARM 32Bit and some Linux distribution).
Info: the tool chain is already configured.
Found this alternatives:
Using dockers
Using distutilscross (sounds the easiest, but couldn't find documentation)
Using VM
Thank you in advance
小智 1
但我在使用 numpy 时总是遇到多数组的问题。
对于第二个问题:
$ sudo apt install python-numpy
Run Code Online (Sandbox Code Playgroud)
本来就是解决方案,但由于我正在为嵌入式系统开发,所以我不能/从未尝试使用它。
我得出的结论是我应该自己交叉编译它,但随后发生了更多的依赖问题。但是,如果目标不是极简 Linux 并且 apt 可用,则可以尝试一下。
| 归档时间: |
|
| 查看次数: |
2173 次 |
| 最近记录: |