问题:ubuntu安装cchardet报错,required to install pyproject.toml-based projects 1.检查是否缺少安装gcc编译器(我的解决方案) g++ --version #检查有没有gcc #如果没有请安装 sudo apt install g++ 2.检查是否安装setuptools pip install wheel setuptools 3.检查是否安装cython pip install cython