Skip to content

Import Error #16

@gwohlgen

Description

@gwohlgen

Hi @wannaphongcom ,

just installed the latest version of pythainlp on Redhat linux from the git sources.

When I try to use it I have the following problem:

import pythainlp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/pythainlp-1.1-py2.7.egg/pythainlp/__init__.py", line 6, in <module>
    from pythainlp.romanization import *
TypeError: Item in ``from list'' not a string

From a quick web search it seems like there could be a python 2 / 3 issue with "unicode_literals".

Happy to get any feedback on how to solve this.

Cheers, Gerhard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions