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

UnicodeDecodeError when install via pip #9

Closed
dvinegla opened this issue Aug 31, 2017 · 1 comment
Closed

UnicodeDecodeError when install via pip #9

dvinegla opened this issue Aug 31, 2017 · 1 comment
Labels

Comments

@dvinegla
Copy link

Downloading Morfessor-2.0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-wy451zlq/morfessor/setup.py", line 9, in <module>
        main_py = open('morfessor/__init__.py').read()
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 373: ordinal not in range(128)

cf061cf#diff-4ffe01edeab0886c81c728bf704ac894R13

maybe you need to add # -*- coding: utf-8 -*-
https://www.python.org/dev/peps/pep-0263/

@psmit
Copy link
Member

psmit commented Aug 31, 2017

Thanks for the report! The actual problem was in setup.py which was not written with python3 in mind. I fixed it now and released version 2.0.3. Let me know if you find any more issues.

@psmit psmit closed this as completed Aug 31, 2017
@svirpioj svirpioj added the bug label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants