prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
3.3k stars 183 forks source link

unexpected io operation while removing clobbered file #1813

Open jonashaag opened 2 months ago

jonashaag commented 2 months ago

Checks

Reproducible example

I can reproduce locally.

Issue description

On macOS

❯ pixi add transformers=4.42 sentence-transformers'>=3'
  ⠒ default:linux-64     [00:00:03] resolving conda
    ⠠ validate cache       [00:00:01] [━━━━━━━━━━━━━━━━━━━╾] libtorch
    ⠠ installing packages  [00:00:01] [━━━━━━━━━━━━━━━━━━━─]    28/30 pytorch                                                                    × failed to instantiate a prefix for 'default'
  ├─▶ failed to link pytorch-2.3.1-cpu_generic_py312h2aa0b4f_1.conda
  ├─▶ failed to link 'lib/python3.12/site-packages/torch/include/ATen'
  ├─▶ unexpected io operation while removing clobbered file
  ╰─▶ Operation not permitted (os error 1)

Expected behavior

?

niemiaszek commented 2 months ago

Had this bug as well on 0.27.1. Removing .pixi and trying again usually helped.