使用R3.6和python 3.6.9,我可以从命令行OK运行它,但通过WSGI和Apache调用,我的请求永远不会返回,我在Apache徽标中看到以下错误:
extern "Python": function _rinterface_cffi_api._processevents() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.
有什么想法吗?
如果有人有类似的经历,那么使用RPY2_CFFI_MODE=ABI python setup.py build
从ABI的源代码编译rpy2(3.2.7(似乎就可以了。不知道为什么。