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

pixi should help user with missing project channel #1452

Open
nichmor opened this issue May 28, 2024 · 2 comments
Open

pixi should help user with missing project channel #1452

nichmor opened this issue May 28, 2024 · 2 comments
Labels
✨ enhancement Feature request

Comments

@nichmor
Copy link
Contributor

nichmor commented May 28, 2024

Problem description

[project]
name = "torchaudio"
channels = ["conda-forge"]

[tasks]

[dependencies]
captum = {version="*", channel="pytorch"}

While trying to install this small example, we will have following error:

(default) graf@Nichitas-MacBook-Pro torchaudio % pixi install
  × failed to solve the conda requirements of 'default' 'osx-arm64'
  ╰─▶ Cannot solve the request because of: The following packages are incompatible
      └─ captum * cannot be installed because there are no viable options:
         └─ captum 0.4.1 | 0.4.1 | 0.5.0 | 0.6.0 is excluded because candidate not in requested channel: 'pytorch'

I think pixi should help user in this case and hint that pytorch should be added in project channels.

@nichmor nichmor added the ✨ enhancement Feature request label May 28, 2024
@ruben-arts
Copy link
Contributor

It should, especially when defined in the pixi add command.

pixi add pytroch::captum

@olivier-lacroix
Copy link
Contributor

Shouldn’t this be picked up in the manifest validation function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request
Projects
None yet
Development

No branches or pull requests

3 participants