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: 'cp932' #33

Closed
loysbe opened this issue Aug 29, 2020 · 2 comments
Closed

UnicodeDecodeError: 'cp932' #33

loysbe opened this issue Aug 29, 2020 · 2 comments

Comments

@loysbe
Copy link

loysbe commented Aug 29, 2020

Hi,
I am just trying this py interface to analyze Japanese text semantics, but got the following issue while trying to install with pip.

Environment: Windows, VS code, python 3.8.5, pip working properly.

pip install pyknp
Collecting pyknp
Using cached pyknp-0.4.5.zip (43 kB)
ERROR: Command errored out with exit status 1:
command: 'e:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\XXX\AppData\Local\Temp\pip-install-7i0yz2y7\pyknp\setup.py'"'"'; file='"'"'C:\Users\XXX\AppData\Local\Temp\pip-install-7i0yz2y7\pyknp\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\XXX\AppData\Local\Temp\pip-pip-egg-info-mimk6u5_'
cwd: C:\Users\XXX\AppData\Local\Temp\pip-install-7i0yz2y7\pyknp
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\XXX\AppData\Local\Temp\pip-install-7i0yz2y7\pyknp\setup.py", line 16, in
long_description = f.read()
UnicodeDecodeError: 'cp932' codec can't decode byte 0x87 in position 115: illegal multibyte sequence
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@nobu-g
Copy link
Member

nobu-g commented Aug 29, 2020

I have updated master.
Could you try to install pyknp from the repository?
pip install git+https://github.com/ku-nlp/pyknp.git@master#egg=pyknp

@loysbe
Copy link
Author

loysbe commented Sep 6, 2020

perfect ! ありがとうございます。

@nobu-g nobu-g closed this as completed Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants