-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
undefined symbol: PyPyUnicode_ReadChar #20014
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
Comments
I can not reproduce this, but I only have access to
which pulls attn @mattip . |
That C-API function was added in PyPy v.7.3.2. Please update to the latest PyPy version. |
Lets close for now, but @yuan8901 please ping us if that doesn't fix the problem. |
If the pypy wheels can't specify micro-release version requirements, perhaps the version check at the point of use #if defined(PYPY_VERSION) && (PYPY_VERSION_NUM < 0x07030200)
Py_UNICODE *unistr = PyUnicode_AsUnicode(textobj);
for (size_t i = 0; i < size; ++i) {
codepoints[i] = unistr[i];
}
#else
for (size_t i = 0; i < size; ++i) {
codepoints[i] = PyUnicode_ReadChar(textobj, i);
}
#endif should just use a version bound of |
When I tried to run matplotlib with pypy3, I got the following error. pypy version [PyPy 7.3.1 with GCC 9.3.0]. Matplotlib version
matplotlib-3.3.4-pp36-pypy36_pp73-manylinux2010_x86_64.whl
from . import ft2font
pypy3.6/site-packages/matplotlib/ft2font.pypy36-pp73-x86_64-linux-gnu.so: undefined symbol: PyPyUnicode_ReadChar
The text was updated successfully, but these errors were encountered: