Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install package #1666

Closed
2 tasks done
EdvardsZ opened this issue Jul 24, 2024 · 1 comment
Closed
2 tasks done

Fails to install package #1666

EdvardsZ opened this issue Jul 24, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@EdvardsZ
Copy link

EdvardsZ commented Jul 24, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

[project]
channels = ["nvidia/label/cuda-11.8.0", "conda-forge", "pytorch"] # conda channels
name = "fail"
platforms = ["linux-64"]

[dependencies] # conda system dependencies
python = "3.10.*"
cuda = { version = "*", channel = "nvidia/label/cuda-11.8.0" }
pytorch-cuda = { version = "11.8", channel = "pytorch" }
pytorch = { version = "*", channel = "pytorch" }

[pypi-dependencies] # pipy dependencies
gsplat = {git="https://github.com/nerfstudio-project/gsplat", extras = ["no-build-isolation"]}

Issue description

I know that pixi under the hood uses uv package so I thought that this is problem with uv so I opened an issue there:
uv issue

However, the problem with uv is fixed when I install first torch and then installl it using --no-build-isolation.

When I try my provided pixi.toml and run pixi install it fails.
I have the latest pixi version 0.26.1

Expected behavior

it installs the package and succeeds

@EdvardsZ EdvardsZ added the 🐞 bug Something isn't working label Jul 24, 2024
@ruben-arts
Copy link
Contributor

Hi @EdvardsZ,

We currently don't support --no-build-isolation, this is the tracked issue for that: #1124.

A workaround for your current workflow would be to use pip in a pixi task to install it into the environment.

I'm going to close this issue in favor of the other one. Feel free to comment further there. And please give it a 👍 to bump the importance of it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants