Comments (9)
🐛 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.
Hey @{user}! Welcome to the QBOT repo on Github.
from qbot.
USE UTF-8
from qbot.
python 程序头部加入:
#!/usr/bin/python
# -*- coding: UTF-8 -*-
from qbot.
上面的issue提出了是windows11,
并且python3.x默认使用UTF-8编码;
#!/usr/bin/env python在Window系统下相当于普通的注释,并没有意义。
from qbot.
没有解决吗?安装的时候同样报这个错误
from qbot.
Win11下环境变量添加PYTHONUTF8,值填1,关掉终端重启
from qbot.
项目里面的requirements.txt用了UTF-8保存,需要以UTF - 8 with BOM另存为(或覆盖)就可以
from qbot.
requirements 确实有些问题,已经修复 #commit
9ea335f
from qbot.
Related Issues (20)
- Could not find a version that satisfies the requirement tensorflow>=2.1.0 HOT 4
- 🌈 2023-06-13 来自Qbot的今日AI选股推送
- 🌈 2023-06-13 来自Qbot的今日AI选股推送
- 🌈 2023-06-16 来自Qbot的今日AI选股推送
- print("在线回测属于付费功能,请联系微信:Yida_Zhang2") HOT 2
- SetuptoolsDeprecationWarning: Invalid dash-separated options HOT 2
- python 的版本应该是对的,但是在运行的时候还是报了个版本不对的,详情麻烦看下 HOT 1
- 使用gitpod安装依赖报错 HOT 1
- python3.9版本安装talib运行qbot_main后报错 HOT 2
- python: can't open file '/usr/local/anaconda3/bin/python': [Errno 2] No such file or directory HOT 2
- 你缝合了这么多东西,好歹写个引用出处啊 HOT 6
- 交易策略在线交易板块登录404 HOT 3
- Many bugs when requirement installing HOT 2
- 居然看到了我的investool HOT 2
- 构建项目的docker镜像失败 HOT 2
- 支持期货交易吗?
- support rllib?
- 请问是否支持部署在云服务器CentOS上面 HOT 3
- Windows环境下安装Python依赖时报错 HOT 1
- MacOS 14.1.1 (23B81) 安装遇到的几个问题,目前已成功启动 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qbot.