lark-parser / lark_cython

Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance
MIT License
45 stars 5 forks source link

how to install lark_cython on windows #2

Closed wqh17101 closed 2 years ago

wqh17101 commented 2 years ago

Describe the bug

install lark_cython on windows

  lark_cython.obj : error LNK2001: unresolved external symbol __imp__PyClassMethod_New
  lark_cython.obj : error LNK2001: unresolved external symbol __imp__PyList_Type
  lark_cython.obj : error LNK2001: unresolved external symbol __imp__PyDict_GetItemString
...

To Reproduce

pip install lark-cython

What do i need to install if i want to install on Windows

Erotemic commented 2 years ago

@wqh17101 I've built a set of wheels for lark-cython. Do you want to try downloading, unzipping, and then attempting to pip install the appropriate one?

https://github.com/lark-parser/lark_cython/suites/7481642149/artifacts/306892242

These will likely be on pypi soon, but any verification that they work would be helpful.

wqh17101 commented 2 years ago

I simplely tested it on my win11, it works. I will test next week for more real cases.

wqh17101 commented 2 years ago

Thank you for your enhancement.