-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS support, and Python dependencies #9
Comments
I also find this problem of not supporting macOs platform. Really hope for the open source of it. |
Looking into it. |
Same problem:
|
Any suggested fixes to make it work no macOS? |
there is no mac OS support: BlingFire/scripts/blingfiretok.py Lines 14 to 22 in 52a5d30
|
fwiw, I was able to get it working on Mac with the following changes: master...ankane:mac. There's probably a cleaner way to do it. |
Thank you, I will look at it today.
…On Mon, Feb 24, 2020, 2:23 AM Andrew Kane ***@***.***> wrote:
fwiw, I was able to get it working on Mac with the following changes:
master...ankane:mac
<master...ankane:mac>.
There's probably a cleaner way to do it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9?email_source=notifications&email_token=AFYTXHPFJJ7XZ33HFRJQ2FTREON3TA5CNFSM4HG2S3RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMXIY7A#issuecomment-590253180>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFYTXHOWMHUF3OBNA3JYWSTREON3TANCNFSM4HG2S3RA>
.
|
Thank you, Andrew, for doing the change! Starting from version 0.0.16 blingfire package supports Mac. |
Awesome, thanks @SergeiAlonichau! |
Hi all, these are two related issues:
After running
pip3 install blingfire
in macOS, which appears to work fine, it's impossible to use the library since the .dylib isn't there. And the error message is rather meh:AttributeError: 'NoneType' object has no attribute 'TextToWords'
It appears to require NumPy, but doesn't specify it as a dependency, so running from a venv without numpy in it also fails.
Both can be fixed by tuning the setup.py metadata, but wrt macOS, can we please actually support it? I can't imagine it being very different from the Linux build, if at all.
Thanks for open sourcing this!
The text was updated successfully, but these errors were encountered: