rushter / selectolax

Python binding to Modest and Lexbor engines (fast HTML5 parser with CSS selectors).
MIT License
1.11k stars 68 forks source link

Cannot import name modest #97

Closed delminskii closed 1 year ago

delminskii commented 1 year ago

I get a ImportError: cannot import name modest error when I try to import selectolax in my code. Python version: 2.7.18 (installed via pyenv) Selectolax version installed: 0.3.16 OS: the latest debian12

File "$HOME/.virtualenvs/sel_requests/lib/python2.7/site-packages/selectolax/__init__.py", line 10, in <module> 
from . import modest
ImportError: cannot import name modest

Any thoughts how to fix that?

rushter commented 1 year ago

Selectolax is Python 3 only.