[pypy-issue] Issue #2515: PyPy2 5.7 - PyExc_SystemError undefined symbol at runtime (pypy/pypy)

psuben issues-reply at bitbucket.org
Thu Mar 23 15:02:32 EDT 2017

New issue 2515: PyPy2 5.7 - PyExc_SystemError undefined symbol at runtime


Just upgraded from PyPy2 5.6 to 5.7. I am able to successfully build a wheel for this package and install it. However at runtime, I get that PyExc_SystemError is undefined. 

I was able to successfully build/install/import on PyPy2 5.6 and couldn't find anything about pypy removing PyExc_SystemError in 5.7.

See steps below:


(virtualenv_run_pypy)root at 30cf015501ef:/code# pip wheel --index-url https://pypi.yelpcorp.com/pypi/ pygear==0.9.2
Collecting pygear==0.9.2
  Using cached https://pypi.yelpcorp.com/api/package/pygear/pygear-0.9.2.tar.gz
Building wheels for collected packages: pygear
  Running setup.py bdist_wheel for pygear ... done
  Stored in directory: /code
Successfully built pygear

(virtualenv_run_pypy)root at 30cf015501ef:/code# pip install pygear-0.9.2-pp257-pypy_41-linux_x86_64.whl
Processing ./pygear-0.9.2-pp257-pypy_41-linux_x86_64.whl
Installing collected packages: pygear
Successfully installed pygear-0.9.2

(virtualenv_run_pypy)root at 30cf015501ef:/code# python
Python 2.7.13 (fa3249d55d15b9829e1be69cdf45b5a44cec902d, Mar 21 2017, 18:46:42)
[PyPy 5.7.0 with GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> import pygear
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: unable to load extension module '/code/virtualenv_run_pypy/site-packages/pygear.pypy-41.so':
undefined symbol: PyExc_SystemError

More information about the pypy-issue mailing list