Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/343.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 为pypy建造熊猫_Python_Pandas_Pypy - Fatal编程技术网

Python 为pypy建造熊猫

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)

我无法在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)
    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;