前言
Windows上编译pip包时报错
报错
- 报错:
OSError: [WinError 1314] 客户端没有所需的特权。
原因
解决问题
报错
- 报错:
ERROR: Could not build wheels for xxx, which is required to install pyproject.toml-based projects
原因
- 缺少 Microsoft Visual C++ 库
解决问题
- 通过 Visual Studio Installer 下载 Microsoft Visual C++ 库
完成
参考文献
Github——Chinesenovels
Github——mrhelixx