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

Missing "mamba repoquery -n ENVIRONMENT" parameter? #3334

Open
jypeter opened this issue Jun 28, 2024 · 2 comments
Open

Missing "mamba repoquery -n ENVIRONMENT" parameter? #3334

jypeter opened this issue Jun 28, 2024 · 2 comments
Labels
type::feature-request New feature proposal type::question Further information is requested

Comments

@jypeter
Copy link

jypeter commented Jun 28, 2024

I get the impression that mamba repoquery can only display information about the current environment

Is there a way to be in one environment (e.g. base), and use repoquery to get information about another (existing) environment?

Some example below

(base)  >which mamba
/home/share/unix_files/cdat/miniconda3_2024-03/bin/mamba

(base)  >mamba repoquery whoneeds --pretty numba

Executing the query numba

numba may not be installed. Try giving a channel with '-c,--channel' option for remote repoquery

(base)  >mamba repoquery whoneeds -n bauer_env --pretty numba
usage: mamba [-h] [-v] [--no-plugins] [-V] COMMAND ...
mamba: error: unrecognized arguments: -n numba

(base)  >conda activate bauer_env

(bauer_env)  >which mamba
/home/share/unix_files/cdat/miniconda3_2024-03/condabin/mamba

(bauer_env)  >which python
/home/share/unix_files/cdat/miniconda3_2024-03/envs/bauer_env/bin/python

(bauer_env)  >mamba repoquery whoneeds --pretty numba    
Executing the query numba

numba
  ├─ sparse[0.15.4]
  └─ xesmf[0.8.6]
@Hind-M
Copy link
Member

Hind-M commented Jul 3, 2024

Indeed, we only support repoquery with current environment at the moment. That could be an enhancement to add in the future, but in the short/medium term, all efforts are focused on the mamba 2.0 release :)

@Hind-M Hind-M added type::feature-request New feature proposal type::question Further information is requested labels Jul 3, 2024
@jypeter
Copy link
Author

jypeter commented Jul 4, 2024

Thank you for adding the feature-request tag!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature-request New feature proposal type::question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants