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 environment is not utf-8 #3264

Closed
gumblex opened this issue Nov 24, 2015 · 2 comments
Closed

UnicodeDecodeError when environment is not utf-8 #3264

gumblex opened this issue Nov 24, 2015 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation C: wheel The wheel format and 'pip wheel' command type: bug A confirmed bug or unintended behavior

Comments

@gumblex
Copy link

gumblex commented Nov 24, 2015

  • Wheel is installed
  • Environment is not UTF-8 (Windows)
  • setup.py is UTF-8 and contains Chinese characters
  • The installation is successful eventually
  • Latest Python 3.5 and pip

C:\Users\Gumble>pip install jieba
Collecting jieba
Using cached jieba-0.37.zip
Building wheels for collected packages: jieba
Running setup.py bdist_wheel for jieba
Complete output from command c:\users\gumble\appdata\local\programs\python\python35\python.exe -c "import setuptools;file='C:\Users\Gumble\AppData\Local\Temp\pip-build-4qaqeq2v\jieba\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d C:\Users\Gumble\AppData\Local\Temp\tmph6smjszqpip-wheel-:
Traceback (most recent call last):
File "", line 1, in
UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 90: illegal multibyte sequence


Failed building wheel for jieba
Failed to build jieba
Installing collected packages: jieba
Running setup.py install for jieba
Successfully installed jieba-0.37

Original issue: fxsjy/jieba#319

@xavfernandez
Copy link
Member

Seems related to #2042

@xavfernandez xavfernandez added type: bug A confirmed bug or unintended behavior C: wheel The wheel format and 'pip wheel' command labels Nov 24, 2015
@gumblex
Copy link
Author

gumblex commented Nov 24, 2015

It seems the same and duplicated problem.

@gumblex gumblex closed this as completed Nov 24, 2015
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: wheel The wheel format and 'pip wheel' command type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants