Add a solution here:
run a new cmd.exe consolechcp
it will show the system default code, for example 936.
open Lib/site-package/pip/compat/__init__.py
around 75 line, change return s.decode('utf_8')
to return s.decode('cp936')
It's just a workaround. I think pip might need solve this issue asap, it's not easy to find solution.
This may have a general solution using cdll.
Not sure if this is the best solution on windows but I still made a PR for this issue.
< 참고 : https://github.com/pypa/pip/issues/4251 >
'프로그래밍 > 참고자료' 카테고리의 다른 글
Vcpkg로 Visual Studio에 library 쉽게 추가하자 (1) | 2017.05.30 |
---|---|
Github education pack을 이용한 repository private 권한 사용 방법 (0) | 2016.10.13 |