문제

I have Python code that works on a 32bit intel machine running Ubuntu, and I need to run this code on Raspberry Pi. Would I need some sort of cross compiling? I have 32bit .so files included in python.

도움이 되었습니까?

해결책

Python is an interpreted bytecode language, so the actual python code does not need to be cross compiled in any way;

Your shared libraries, files ending in .so are not python, however. You will need to obtain versions of those compiled for the correct architecture. It might well be that those are ordinary C extensions for python, which can be built via setuptools or other means, which works equally well on ARM as it does on i386.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top