glample / fastBPE

Fast BPE
MIT License
656 stars 96 forks source link

Error when using Python API #19

Open sashank06 opened 5 years ago

sashank06 commented 5 years ago

When running the command "python setup.py install" I run into the following error. Any help would be appreciated. Attached is a screenshot of the error. OS: MacOS Mojave 10.14.15

Screen Shot 2019-06-22 at 17 27 01
yannvgn commented 5 years ago

Hey, I had the same issue. Running export MACOSX_DEPLOYMENT_TARGET="10.9" before python setup.py install fixed the issue for me.

Source: https://stackoverflow.com/questions/56083725/macos-build-issues-lstdc-not-found-while-building-python-package

Also related to https://github.com/glample/fastBPE/issues/18 I think.