darvid / python-hyperscan

🐍 A CPython extension for the Hyperscan regular expression matching library.
https://python-hyperscan.readthedocs.io/en/latest/
MIT License
165 stars 28 forks source link

Python 3.10 using error #97

Open KKenny0 opened 12 months ago

KKenny0 commented 12 months ago

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: ZTTNSt3119basic_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.