我正在尝试将pypy 2.6.1安装到虚拟环境中。 我按照这里的说明: http : //pypy.readthedocs.org/en/latest/install.html工作正常。 但麻烦的是当我试图安装一些其他的东西到virtualenv。 其中一个有lxml作为依赖,这就是发生了什么事情:
src/lxml/lxml.etree.c:4276:68: error: 'PyThreadState' has no member named 'c_tracefunc' (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ ^ src/lxml/lxml.etree.c:34578:3: note: in expansion of macro '__Pyx_TraceCall' __Pyx_TraceCall("_htmlNameIsValid", __pyx_f[4], 1596, 0, {__pyx_filename = __pyx_f[4]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}); ^ src/lxml/lxml.etree.c:4284:26: error: 'PyThreadState' has no member named 'use_tracing' if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ ^ src/lxml/lxml.etree.c:555:43: note: in definition of macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ src/lxml/lxml.etree.c:34578:3: note: in expansion of macro '__Pyx_TraceCall' __Pyx_TraceCall("_htmlNameIsValid", __pyx_f[4], 1596, 0, {__pyx_filename = __pyx_f[4]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}); ^ src/lxml/lxml.etree.c:4284:51: error: 'PyThreadState' has no member named 'tracing' if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ ^ src/lxml/lxml.etree.c:34578:3: note: in expansion of macro '__Pyx_TraceCall' __Pyx_TraceCall("_htmlNameIsValid", __pyx_f[4], 1596, 0, {__pyx_filename = __pyx_f[4]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}); ^ src/lxml/lxml.etree.c:4285:22: error: 'PyThreadState' has no member named 'c_profilefunc' (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ ^ src/lxml/lxml.etree.c:34578:3: note: in expansion of macro '__Pyx_TraceCall' __Pyx_TraceCall("_htmlNameIsValid", __pyx_f[4], 1596, 0, {__pyx_filename = __pyx_f[4]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}); ^ src/lxml/lxml.etree.c:4285:64: error: 'PyThreadState' has no member named 'c_tracefunc' (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ ^ src/lxml/lxml.etree.c:34578:3: note: in expansion of macro '__Pyx_TraceCall' __Pyx_TraceCall("_htmlNameIsValid", __pyx_f[4], 1596, 0, {__pyx_filename = __pyx_f[4]; __pyx_lineno = 1596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}); ^ src/lxml/lxml.etree.c:4342:25: error: 'PyThreadState' has no member named 'use_tracing'
这只是一个例子,似乎有成千上万这样的线路。 它滚动得如此之快,我看不出第一个错误是什么,它似乎永远不会结束。
我已经看到这个问题和答案: 如何在virtualenv中与pypy一起安装lxml,这没有帮助。 我还看到从那里链接的额外问题和答案我怎样才能在优胜美地上设置lxml和pypy? (这是yoesmite pypy 2.4,这是对于pypy 2.6和Linux),也不起作用。
有没有其他人看到有错误。