EducationalTestingService / rstfinder

Fast Discourse Parser to find latent Rhetorical STructure (RST) in text.
MIT License
122 stars 24 forks source link

update to support python 3.6 #46

Closed aoifecahill closed 4 years ago

logan-siyao-peng commented 5 years ago

It seems like python-zpar only supports python=3.3. However, this older python version is now not installable on Mac (either directly or through anaconda). Is there another way to use this parser? Thanks.

desilinguist commented 5 years ago

python-zpar supports python 3.6 and 3.7 just fine. In fact, Python 3.7 is what the CircleCI build uses.

logan-siyao-peng commented 5 years ago

Thank you. I believe python-zpar works fine with python 3.6 3.7 on Linux (I am using a Ubuntu VB on Mac). However, it still fails on local Mac OSX machines.

desilinguist commented 5 years ago

Ah I see. As the readme for python-zpar says, you have to make sure that you are using gcc installed via homebrew or macports. The readme has the details.

On Fri, Jul 19, 2019 at 3:23 PM Siyao (Logan) Peng notifications@github.com wrote:

Thank you. I believe python-zpar works fine with python 3.6 3.7 on Linux (I am using a Ubuntu VB on Mac). However, it still fails on local Mac OSX machines.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EducationalTestingService/discourse-parsing/issues/46?email_source=notifications&email_token=AABHPEDLFA2FXOOWPVJHQPLQAIID5A5CNFSM4FDTXOGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2MQ5WA#issuecomment-513347288, or mute the thread https://github.com/notifications/unsubscribe-auth/AABHPEFZTGOP4ZZSNE6KFVLQAIID5ANCNFSM4FDTXOGA .

-- Linguist, Desi Linguist http://www.desilinguist.org

desilinguist commented 4 years ago

I think this is resolved.