How to install Qiime2 (in particular Artifact API) with current conda environment? Mac OSX

I want to install qiime2 so I can use Artifact API and make simple wrappers for functions to work with my current workflow. I am having trouble getting qiime2 to install via conda and the https://anaconda.org/qiime2/qiime2 channel.

For example when I run:

conda install -c qiime2/label/r2018.2 qiime2

I get the following error:

(python3) jespinozlt-osx:~ jespinoz$ conda install -c qiime2/label/r2018.2 qiime2
Solving environment: failed

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

  - qiime2
  - tzlocal

Current channels:

  - https://conda.anaconda.org/qiime2/label/r2018.2/osx-64
  - https://conda.anaconda.org/qiime2/label/r2018.2/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
  - https://repo.anaconda.com/pkgs/pro/osx-64
  - https://repo.anaconda.com/pkgs/pro/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.

Here are my versions:

(python3) jespinozlt-osx:~ jespinoz$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1217
(python3) jespinozlt-osx:~ jespinoz$ python --version
Python 3.6.4 :: Anaconda, Inc.
(python3) jespinozlt-osx:~ jespinoz$ conda --version
conda 4.5.4
1 Like

Hi @jespinoz,
Have you had a chance to check out our installation guide? Artifact API is included in the basic installation.

To install in an existing conda environment, see this topic:

I hope that helps!

1 Like

Hey thanks for the response. I will try it out today. Is it compatible with Python 3.6?

alas, not yet. Looks like you found the open issue tracking this. We will report back here when that issue is closed.

I should add: we may just leapfrog on up to 3.7:

Since it sounds like you want to use :qiime2: with an existing workflow (which I presume depends on python 3.6), I would recommend just installing in a separate (3.5) env following the normal installation instructions, then switch envs when you need to use qiime. A bit inconvenient, but would make your life much easier!

3.7 is out now :slight_smile:

2 Likes

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