Pip install UnicodeDecodeError

Friday, Sep 3, 2021 | 1 minute read | Updated at Friday, Sep 3, 2021

@
Pip install UnicodeDecodeError

pip install UnicodeDecodeError

解决方法: python目录 Python27\Lib\site-packages 建一个文件sitecustomize.py 内容为:

import sys
sys.setdefaultencoding('gbk')

© 2016 - 2025 Caisong's Blog

🌱 Powered by Hugo with theme Dream.

About Me

大龄程序员,喜欢折腾各种环境部署、软件应用。

博客记录日常。