ERROR: Could not build wheels for XXX, which is required to install pyproject.toml-based projects

报错内容:

ERROR: Could not build wheels for cython, which is required to install pyproject.toml-based projects

解决办法:

1. 进入vs官网下载Microsoft C++ 生成工具

Visual Studio官网

ERROR: Could not build wheels for XXX, which is required to install pyproject.toml-based projects_第1张图片

2. 成功安装完成后,还需要安装如下图如下图所示内容

ERROR: Could not build wheels for XXX, which is required to install pyproject.toml-based projects_第2张图片

 3. 等待安装完成,成功安装完后,重新执行如下命令即可成功安装cython

pip install cython

ERROR: Could not build wheels for XXX, which is required to install pyproject.toml-based projects_第3张图片

你可能感兴趣的:(python)