BLLIP / bllip-parser

BLLIP reranking parser (also known as Charniak-Johnson parser, Charniak parser, Brown reranking parser) See http://pypi.python.org/pypi/bllipparser/ for Python module.
http://bllip.cs.brown.edu/
227 stars 53 forks source link

Compilation error when installing from pip #69

Closed mbasaglia closed 2 years ago

mbasaglia commented 2 years ago

pip install bllipparser fails. The output shows a bunch of stuff but I think this is the relevant error:

first-stage/PARSE/swig/wrapper.C: In function ‘void SwigPyStaticVar_dealloc(PyDescrObject*)’:
first-stage/PARSE/swig/wrapper.C:3309:3: error: ‘_PyObject_GC_UNTRACK’ was not declared in this scope; did you mean ‘PyObject_GC_UnTrack’?

OS: Ubuntu 21.04 Python: Python 3.9.5

dmcc commented 2 years ago

This might be the same issue as https://github.com/BLLIP/bllip-parser/issues/68 -- can you see if the same workaround works for you?

(meanwhile, I'll work on a new release...)

dmcc commented 2 years ago

I'm hoping the new release will fix it -- please reopen if there's still an issue.