-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conda 23.10.0 fails to find and install local files with the new solver libmamba on MacOS (M1) #398
Comments
…l. (#4770) Forward fix for: #4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
…l. (pytorch#4770) Forward fix for: pytorch#4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
#4771) Forward fix for: #4766 Related to issue: https://github.com/conda/conda/issues/13374 1. Make sure packages are searched in particular order during install. Use override-channel option when installing packages for smoke test: From Conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/channels.html#specifying-channels-when-installing-packages ``` From the command line use --c You may specify multiple channels by passing the argument multiple times. Priority decreases from left to right - the first argument is higher priority than the second. From the command line use --override-channels to only search the specified channel(s), rather than any channels configured in .condarc. ``` 2. Add check for validating that required package is actually installed from required channel
I think the problem comes from how the package is being specified:
This will be understood as the
is more explicit and accurate. Does it work with this alternative syntax? |
Ah wait, this is a bit hacky 🤔 In the
🤔 Is it because the osx-arm64 was not part of the default subdir collection when it was created? |
I think you can use
to do something like this: custom_channels:
distr: file:///path/to/Downloads/or/parent/directorty |
Let me try with the custom channels config. On the other hand, we have tried using the full name, i.e. |
Ok, thanks! That's useful to know. I'll transfer this over to conda/conda-libmamba-solver. |
Ran into a similar (same?) issue using the 🟢
|
I am looking into this now. For the record,
|
Submitted mamba-org/mamba#3055 |
One thing I noticed is that while following works,
the following does not
because there is no |
FWIW |
I think we should allow the following
but not allow
What do you think? |
Yep, my gut tells me that the last one feels weird and happens to work. Sadly some folks are somehow relying on that (with some effort, though, given the existence of the remote |
Fixed in mamba-org/mamba#3056
Fixed in conda/conda#13418 |
I don't think the original issue is fixed. We need conda/conda#13418 for a partial fix. |
Checklist
What happened?
As part of PyTorch release workflow, we build conda release for PyTorch and other libraries like TorchAudio. As part of the process, we run smoke test to install the conda build artifacts locally with the following commands
conda install -c pytorch-nightly -c file:///Users/huydo/Downloads/distr distr::torchaudio
, and it starts to fail with the latest 23.10.0 conda release:Here are some observation:
distr
Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: