Skip to content
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

ModuleNotFoundError: No module named 'utKit' #7

Open
nonoumasy opened this issue May 7, 2020 · 2 comments
Open

ModuleNotFoundError: No module named 'utKit' #7

nonoumasy opened this issue May 7, 2020 · 2 comments

Comments

@nonoumasy
Copy link

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'

@krystofl
Copy link

krystofl commented Oct 17, 2020

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'

@ModnarUser
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants