-
-
Notifications
You must be signed in to change notification settings - Fork 837
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
'gbk' codec can't decode byte 0xa3 in position 83: illegal multibyte sequence #6
Comments
USE UTF-8 |
python 程序头部加入: #!/usr/bin/python
# -*- coding: UTF-8 -*- |
上面的issue提出了是windows11, |
这个能解决, |
没有解决吗?安装的时候同样报这个错误 |
Win11下环境变量添加PYTHONUTF8,值填1,关掉终端重启 |
项目里面的requirements.txt用了UTF-8保存,需要以UTF - 8 with BOM另存为(或覆盖)就可以 |
requirements 确实有些问题,已经修复 |
🐛 Bug Description
'gbk' codec can't decode byte 0xa3 in position 83: illegal multibyte sequence
To Reproduce
pip install -r requirements.txt
Environment
win11
Additional Notes
requirements.txt Save As UTF-8 with BOM will solve the problem
The text was updated successfully, but these errors were encountered: