[pypy-dev] Pypy3 lxml support - please help
Armin Rigo
armin.rigo at gmail.com
Sun Jul 30 10:09:51 EDT 2017
Hi Michal,
On 30 July 2017 at 13:53, Michal Moiseev <michal.moiseev at firmitas.solutions>
wrote:
> I couldn't seem to fine a solution for the lxml package, the pypy
> implementation - lxml-cffi is only for python 2.x, and when installing
> lxml, it is also seems to work only for python 2.x, and the following error
> is printed when trying to import:
>
This used to be a known problem with Cython:
https://github.com/cython/cython/pull/1631 . It has been fixed in Cython
0.26. The issue here is that lxml comes with pre-Cythonized files produced
by Cython 0.25.2.
Apart from waiting for the next release of lxml, you could manually install
lxml. To do so, download the source, and run:
pypy3 -m pip install cython
pypy3 setup.py build --with-cython # forced re-Cythonize
pypy3 setup.py install
A bientôt,
Armin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20170730/99f1779a/attachment.html>
More information about the pypy-dev
mailing list