astral-sh/uv

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

Ouverte

#14 584 ouverte le 13 juil. 2025

 (9 commentaires) (0 réaction) (0 personne assignée)Rust (3 111 forks)batch import
error messageshelp wanted

Métriques du dépôt

Stars
 (84 934 étoiles)
Métriques de merge PR
 (Merge moyen 7j 16h) (259 PRs mergées en 30 j)

Description

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

Guide contributeur