Artifact API conda error

Hi Qiime 2 dev team,

I’m trying to install the artifact interface according to the installation instruction listed on the webpage (https://docs.qiime2.org/2018.2/interfaces/artifact-api/). I can uninstall the feature table from my enviroment:

$ conda uninstall q2-feature-table

But, when I try to run the command to reinstall the packages, I get an error

$ conda install --override-channels -c qiime2 -c defaults q2-feature-table q2-diversity


Solving environment: failed

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

  - q2-diversity
  - q2-feature-table

Current channels:

  - https://conda.anaconda.org/qiime2/osx-64
  - https://conda.anaconda.org/qiime2/noarch
  - https://repo.continuum.io/pkgs/main/osx-64
  - https://repo.continuum.io/pkgs/main/noarch
  - https://repo.continuum.io/pkgs/free/osx-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/osx-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/osx-64
  - https://repo.continuum.io/pkgs/pro/noarch

Help with the conda channel issue would be super appreciated.

Thanks!

1 Like

Hi @jwdebelius!

Two things - first, you don’t need to uninstall q2-feature-table in order to use the Artifact API, that is just part of the illustration of how the Artifact API automatically generates methods based on what plugins are present. From the tutorial:

This API is automatically generated, and its availability depends on which QIIME 2 plugins are currently installed. To see this in action, begin by uninstalling the q2-feature-table plugin.

The Artifact API is always available (it is part of the framework), so if you have QIIME 2, you have the Artifact API!

Okay, so now, how do we get q2-feature-table back into your environment? Two options, one, is to just reinstall the entire environment (remove the partial env first), the second is to use the following channels:

conda install --override-channels -c qiime2/label/r2018.2 -c qiime2 -c defaults q2-feature-table q2-diversity

I have opened up an issue on the docs repo to update that command with the latest incantation of conda channels - thanks for catching that!

Thanks so much! :t_rex:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.