Cannot resolve dependency via conda despite package being publicly available

I am attempting to install the msnpy suite of tools. I have some custom wrappers to this effect ( found here: msnpy-galaxy/tools/msnpy at v1.0.0+galaxy0 · computational-metabolomics/msnpy-galaxy · GitHub ). However, in the manage dependencies view, it is marked as unresolved. Any attempt to install fails, and it cycles through each of the five standard dependency resolvers unsuccessfully. The log output is as follows:

Solving environment: ...working... failed

PackagesNotFoundError: The following packages are not available from current channels:

  - msnpy

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/bioconda/osx-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/osx-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

The link to the anaconda repo for the msnpy package is here: Msnpy :: Anaconda.org

If anyone could provide any insight as to why this is failing I would be very grateful. I have been able to install other tools manually without the same issue. I am running galaxy locally, but with a dedicated postgresdb.

1 Like

Hi @Callum_Martin

If the default channels do not include what you need, specify others. How to is included here: Conda for Tool Dependencies — Galaxy Project 21.05.1.dev0 documentation

Also, consider using Planemo for tool development you are not already using it. Things will go smoother.

And should you need more help, the UIC Galaxy tool development group is a great resource. Issues like this are discussed daily at Gitter: galaxy-iuc/iuc - Gitter

1 Like

Hi @jennaj , thanks for your reply. I looked through the documentation you sent over, but the problem I have at the moment is that I don’t know which channel this particular tool lives in. I would assume one of the three that are supplied by default under ‘conda_ensure_channels’. I have been able to install other tools from the same organisation without issue. Do you have any idea how I find out which channel a conda package belongs to?

1 Like

Hi @Callum_Martin

Here is an example: msnpy/environment.yml at master · computational-metabolomics/msnpy · GitHub