You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
importutKit
to this
from . importutKit
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?
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)
in ()
----> 1 from polyglot import ebook
/usr/local/lib/python3.6/dist-packages/polyglot/init.py in ()
----> 1 import utKit
2 import cl_utils
3 from printpdf import printpdf
4 from htmlCleaner import htmlCleaner
5 from ebook import ebook
ModuleNotFoundError: No module named 'utKit'
The text was updated successfully, but these errors were encountered: