Could not build wheels for Pillow, matplotlib, cchardet, which is required to install pyproject.toml-based projects
时间: 2023-10-12 18:00:45 浏览: 180
安装pyltp显示ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (py
根据您提供的引用内容,您在安装TTS库时遇到了"Could not build wheels"的错误,而且这个错误不仅出现在TTS库上,还出现在Pillow、matplotlib和cchardet等库上。
这个错误通常是由于缺少一些编译工具或依赖项导致的。根据引用提供的解决办法,您可以尝试安装Microsoft C++生成工具来解决这个问题。您可以访问https://visualstudio.microsoft.com/visual-cpp-build-tools下载并安装这个工具。安装完成后,再次运行python setup.py install命令,应该就能成功安装所需的库了。
希望这个解决办法能帮到您!<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [报“ERROR: Could not build wheels for tts, which is required to install pyproject”](https://blog.csdn.net/vivisol/article/details/129139180)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文