-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I installed via pip in Python 3.7.9 and wanted to test Analyzer.
Trying to import analyze with:
from turkish_morphology import analyze
results in
ImportError: cannot import name 'pywrapfst' from 'external.org_openfst' (unknown location)
for Windows,
and
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/external/org_openfst/pywrapfst.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/external/org_openfst/pywrapfst.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03 /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/external/org_openfst/pywrapfst.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
for Mac even though I installed openfst via brew.
Installing openfst via pip fails in both OS.
So my question is: is Python 3.9 is required and neccesary to run turkish-morphology especially considering these errors related to openfst?