darvid/python-hyperscan

Python 3.10 using error

Opened this issue · 0 comments

got error msg "File "/Users/kennywu/anaconda3/lib/python3.10/site-packages/hyperscan/init.py", line 3, in
from hyperscan._ext import * # noqa: F401, F403
ImportError: dlopen(/Users/kennywu/anaconda3/lib/python3.10/site-packages/hyperscan/_ext.cpython-310-darwin.so, 2): Symbol not found: __ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
Referenced from: /Users/kennywu/anaconda3/lib/python3.10/site-packages/hyperscan/_ext.cpython-310-darwin.so
Expected in: /usr/lib/libc++.1.dylib
in /Users/kennywu/anaconda3/lib/python3.10/site-packages/hyperscan/_ext.cpython-310-darwin.so"

when I tried the command python -c "import hyperscan".

how can I resolve it? thx.