ModuleNotFoundError: No module named 'utKit'
On Google colab, I tried installing using: !pip install pypolyglot !pip3 install pyicu !pip3 install pycld2
it gives this error:
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/polyglot/init.py in
ModuleNotFoundError: No module named 'utKit'
Same issue in a local Python 3 virtualenv. I just did pip install pypolyglot, then
$ polyglot init
Traceback (most recent call last):
File "/home/krystof/.virtualenvs/polyglot-tests/bin/polyglot", line 5, in <module>
from polyglot.cl_utils import main
File "/home/krystof/.virtualenvs/polyglot-tests/lib/python3.8/site-packages/polyglot/__init__.py", line 1, in <module>
import utKit
ModuleNotFoundError: No module named 'utKit'
Have the same issue with Python 3. When I modify the __init__.py in polyglot/polyglot from this
import utKit
to this
from . import utKit
my interpreter will find the file but runs into a bunch of Python 2 syntax related errors (print "something" instead of print("something") etc.) So it seems like this project is not compatible with Python 3?