Giter VIP home page Giter VIP logo

Comments (9)

duanruiw avatar duanruiw commented on May 17, 2024 1

🐛 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

这个能解决,
原文件编码 是个 UTF-8 with NO BOM的 调整成 UTF-8 with BOM 就好了。

from qbot.

github-actions avatar github-actions commented on May 17, 2024
image

Hey @{user}! Welcome to the QBOT repo on Github.

from qbot.

asdfsa1314 avatar asdfsa1314 commented on May 17, 2024

USE UTF-8

from qbot.

Charmve avatar Charmve commented on May 17, 2024

python 程序头部加入:

#!/usr/bin/python
# -*- coding: UTF-8 -*-

from qbot.

dadaoerv avatar dadaoerv commented on May 17, 2024

上面的issue提出了是windows11,
并且python3.x默认使用UTF-8编码;
#!/usr/bin/env python在Window系统下相当于普通的注释,并没有意义。

from qbot.

kcloze avatar kcloze commented on May 17, 2024

没有解决吗?安装的时候同样报这个错误

from qbot.

IIIgnac avatar IIIgnac commented on May 17, 2024

Win11下环境变量添加PYTHONUTF8,值填1,关掉终端重启

from qbot.

ByronLeeeee avatar ByronLeeeee commented on May 17, 2024

项目里面的requirements.txt用了UTF-8保存,需要以UTF - 8 with BOM另存为(或覆盖)就可以

from qbot.

Charmve avatar Charmve commented on May 17, 2024

requirements 确实有些问题,已经修复 #commit 9ea335f

from qbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.