poetry-core editable .pth 以 UTF-8 格式编写,而 Python ≤3.12 在非 UTF-8 的 Windows 环境中无法读取 (解释器无法启动)。
作者: KevinLee1231创建于 2026年9月22日更新于 2026年9月22日
- poetry-core 2.5.0 (also the newest on PyPI at the time of writing)
- uv 0.12.13 — the installer that invoked the build backend; it is not the writer of the file
- Windows 11 Pro 10.0.26200, ANSI code page 936 (Chinese Simplified)
- Venv interpreter: CPython 3.11.15,
locale.getencoding() == 'cp936',sys.flags.utf8_mode == 0 - A project whose
pyproject.tomldeclares[build-system] requires = ["poetry-core"]
To reproduce
内容来源: python-poetry/poetry