How to Build a 32-bit Python Module Distribution w/ Setup.py on x86_64 Host

孤街浪徒 提交于 2019-12-04 13:12:52

Have you installed a 32-bit python on your machine? I think that it should be OK if you run it from 32-bit python, and make sure you're linking to the right python.h.

I've never tried to cross-compile on Linux, but I have compiled against different pythons installed side by side on 64-bit Windows.

Then of course, there's the nuclear option of installing a 32-bit VM and compiling from there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!