astral-sh/uv

uv errors if the `pyproject.toml` is a directory

开放

#14,584 创建于 2025年7月13日

 (9 条评论) (0 个反应) (0 位负责人)Rust (3,111 个派生)batch import
error messageshelp wanted

仓库指标

星标
 (84,934 个星标)
PR 合并指标
 (平均合并 7天 16小时) (30 天内合并 259 个 PR)

描述

Summary

Any uv commands that I executed always return:

error: failed to read from file `/pyproject.toml`: Is a directory (os error 21)

Adding -v to all commands does not return other helpful error messages.

What I have tried:

  1. Remove cache
  2. Uninstall (includes removing python and tool dirs) and reinstall
  3. Remove cache, uninstall (including removing python and tool dirs), and reinstall

Could this be a duplicate issue? If yes, could you provide me the link? Appreciate the help.

Image

Platform

Pop!_OS jammy 22.04 x86_64

Version

uv 0.7.20

Python version

Python 3.12

贡献者指南