> uv sync
Using CPython 3.12.4 interpreter at: C:\Program Files\Python312\python.exe
Creating virtual environment at: .venv
Resolved 78 packages in 4.05s
error: Distribution `pyqt5-qt5==5.15.18 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on Windows (`win_amd64`), but `pyqt5-qt5` (v5.15.18) only has wheels for the following platforms: `manylinux2014_x86_64`, `macosx_10_13_x86_64`, `macosx_11_0_arm64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels
Windows 平台
PPOCRLabel无法启动,uv sync安装依赖失败,报以下错误:通过给
pyproject.toml添加下面配置解决问题:参考:astral-sh/uv#7005