[pypy-issue] Issue #2654: Symbol not found: _PySlice_GetIndicesEx (pypy/pypy)
Tudor Aursulesei
issues-reply at bitbucket.org
Wed Sep 13 09:16:06 EDT 2017
New issue 2654: Symbol not found: _PySlice_GetIndicesEx
https://bitbucket.org/pypy/pypy/issues/2654/symbol-not-found-_pyslice_getindicesex
Tudor Aursulesei:
5.9.0 beta on mac os
```
#!
~/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64$ ./bin/pypy -m regex
Traceback (most recent call last):
File "/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/lib-python/2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/lib-python/2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/regex.py", line 387, in <module>
import _regex_core
File "/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/_regex_core.py", line 21, in <module>
import _regex
ImportError: unable to load extension module '/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/_regex.pypy-41.so': dlopen(/Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/_regex.pypy-41.so, 6): Symbol not found: _PySlice_GetIndicesEx
Referenced from: /Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/_regex.pypy-41.so
Expected in: flat namespace
in /Users/ts/pypy-unstable/pypy-c-jit-92376-eeb144e01b46-osx64/site-packages/_regex.pypy-41.so
```
It's also present in 5.8.0 on mac os
```
#!
$ pypy -m regex
Traceback (most recent call last):
File "/usr/local/Cellar/pypy/5.8.0/libexec/lib-python/2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/pypy/5.8.0/libexec/lib-python/2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/pypy/site-packages/regex.py", line 387, in <module>
import _regex_core
File "/usr/local/Cellar/pypy/5.8.0/libexec/site-packages/_regex_core.py", line 21, in <module>
import _regex
ImportError: unable to load extension module '/usr/local/Cellar/pypy/5.8.0/libexec/site-packages/_regex.pypy-41.so': dlopen(/usr/local/Cellar/pypy/5.8.0/libexec/site-packages/_regex.pypy-41.so, 6): Symbol not found: _PySlice_GetIndicesEx
Referenced from: /usr/local/Cellar/pypy/5.8.0/libexec/site-packages/_regex.pypy-41.so
Expected in: flat namespace
in /usr/local/Cellar/pypy/5.8.0/libexec/site-packages/_regex.pypy-41.so
```
5.8.0 linux
```
#!
Traceback (most recent call last):
File "/usr/lib/pypy/lib-python/2.7/runpy.py", line 176, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/pypy/lib-python/2.7/runpy.py", line 73, in _run_code
exec code in run_globals
File "/root/venv_pypy/site-packages/regex.py", line 387, in <module>
import _regex_core
File "/root/venv_pypy/site-packages/_regex_core.py", line 21, in <module>
import _regex
ImportError: unable to load extension module '/root/venv_pypy/site-packages/_regex.pypy-41-x86_64-linux-gnu.so': /root/venv_pypy/site-packages/_regex.pypy-41-x86_64-linux-gnu.so: undefined symbol: PySlice_GetIndicesEx
```
I've installed regex with pip install regex beforehand.
More information about the pypy-issue
mailing list