1

所以我想在 pypy 上运行基于 django-tastypie 的 API。问题是,tastepie 使用 lxml 作为 xml 序列化器,它与 pypy 不兼容。

我正在寻找从 lxml 切换到可与 pypy 一起使用的其他 xml 序列化程序的任何帮助。

4

1 回答 1

2

LXML was just ported to PyPy.

You need PyPy nightlies (link at the top of this page), then you can install it from Amaury's repository:

pip install [--user] git+https://github.com/amauryfa/lxml@cffi
于 2013-06-27T20:18:30.680 回答