Open kkew3 opened 2 months ago
@kkew3 感谢Kaiwen的建议,cchardet==2.2.0a2当前是预发布版本,下阶段抽取任务大规模验证后更新上线。
Same problem here. I can't even install it now.
@Tendo33 If the issue is that cchardet cannot compile in a higher version Python environment, you can try specifying the installation of cchardet alpha version. The specific steps are as follows:
可否把
https://github.com/opendatalab/magic-html/blob/1c44bd5f92c488c24326fcc55167aaed15285439/requirements.txt#L2
改为
cchardet==2.2.0a2
(见这个 issue)?否则在 python3.11 下报错。我显式指定安装cchardet==2.2.0a2
后可以正常运行 README 里的例子。报错信息如下: