Python 为pypy建造熊猫
我无法在osx和raspbian上为PyPy4.0.0编译pandas(0.17.0) 这两种情况下都失败,但原因不同: 拉斯宾:Python 为pypy建造熊猫,python,pandas,pypy,Python,Pandas,Pypy,我无法在osx和raspbian上为PyPy4.0.0编译pandas(0.17.0) 这两种情况下都失败,但原因不同: 拉斯宾: pandas/lib.c:84937:76: error: ‘PyDateTime_Date’ undeclared (first use in this function) pandas/lib.c:84938:84: error: ‘PyDateTime_DateTime’ undeclared (first use in this function)
pandas/lib.c:84937:76: error: ‘PyDateTime_Date’ undeclared (first use in this function)
pandas/lib.c:84938:84: error: ‘PyDateTime_DateTime’ undeclared (first use in this function)
error: command 'cc' failed with exit status 1
osx:
我知道pandas没有正式支持pypy,但pypy不应该成为替代品吗?pypy目前不支持pandas。我们正在努力改善这种情况,但从pypy 4.0开始,您不能直接在pypy下使用pandas(但您可以尝试pymetabiosis之类的解决方案)pypy几乎不支持numpy,在可预见的未来,这种情况不太可能发生;任何已经编译代码的库也不太可能工作。谢谢。我看了肾盂代谢综合征。我主要想使用bokeh(和bokeh服务器),它依赖pandas。在不改变bokeh中的代码的情况下,pymetabiosis可以做到这一点吗?我相信bokeh可以与pypy一起工作(尽管我自己从未尝试过)。bokeh依赖熊猫,这就是问题所在
In file included from pandas/src/datetime_helper.h:3:
/Users/sonium/Raspbrewry/venv-pypy/site-packages/numpy/core/include/numpy/arrayscalars.h:8:3: error: typedef redefinition with different types ('struct PyBoolScalarObject' vs 'struct PyBoolScalarObject')
} PyBoolScalarObject;