Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pypy Compilation Error #19

Closed
jmp0xf opened this issue Feb 6, 2015 · 5 comments
Closed

Pypy Compilation Error #19

jmp0xf opened this issue Feb 6, 2015 · 5 comments

Comments

@jmp0xf
Copy link

jmp0xf commented Feb 6, 2015

It can not be installed with Pypy.
Following error is showed:
error: use of undeclared identifier 'PyByteArray_FromStringAndSize';

@kmike
Copy link
Member

kmike commented Feb 6, 2015

marisa-trie Python wrapper relies on Cython to generate the bindings; Cython generates PyByteArray_FromStringAndSize which looks unsupported by pypy.

PyPy support would be nice, but I'm not sure what can be done here. PyPy support is not declared in setup.py, and I'm not testing marisa-trie with PyPy because the tests has been failing from the beginning.

@superbobry
Copy link
Member

@jmp0xf can you please add the version of PyPy you were using?

@jmp0xf
Copy link
Author

jmp0xf commented Oct 21, 2015

@superbobry Pypy 2.5, I guess.

@daa
Copy link
Contributor

daa commented Dec 19, 2017

JFYI, combination of PyPy-5.9.0 and Cython-0.27.3 works well for marisa-trie and give no compilation errors.

@BoboTiG
Copy link
Contributor

BoboTiG commented Jul 24, 2021

Have a look at #66 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants