Package uploaded to anaconda but not installable

Hey there @cduvallet! I wonder if this error is related to the current path you are in when running the conda install command above --- if you are sitting in your q2-perc-norm repo, then there is a folder there called q2_perc_norm - is it possible conda thinks it should be looking in there to install the package from, instead of up towards the heavens (aka anaconda.org)?

On my dev machine I ran the following:

conda install -c cduvallet q2_perc_norm
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.5.2
  latest version: 4.5.3

Please update conda by running

    $ conda update -n base conda



## Package Plan ##

  environment location: /Users/matthew/.conda/envs/q2dev

  added / updated specs:
    - q2_perc_norm


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    scipy-0.19.1               |   py35hf362045_3        14.6 MB
    numpy-1.12.1               |   py35h655160a_1         3.6 MB
    blas-1.0                   |              mkl           6 KB
    scikit-learn-0.19.1        |   py35h2b554eb_0         4.8 MB
    q2_perc_norm-1.0           |           py35_0          11 KB  cduvallet
    certifi-2018.4.16          |           py35_0         142 KB
    ------------------------------------------------------------
                                           Total:        23.1 MB

The following NEW packages will be INSTALLED:

    q2_perc_norm: 1.0-py35_0                    cduvallet

The following packages will be UPDATED:

    certifi:      2018.4.16-py35_0              conda-forge --> 2018.4.16-py35_0
    openssl:      1.0.2o-0                      conda-forge --> 1.0.2o-h26aff7b_0

The following packages will be DOWNGRADED:

    blas:         1.1-openblas                  conda-forge --> 1.0-mkl
    numpy:        1.12.1-py35_blas_openblas_200 conda-forge [blas_openblas] --> 1.12.1-py35h655160a_1
    scikit-learn: 0.19.1-py35_blas_openblas_200 conda-forge [blas_openblas] --> 0.19.1-py35h2b554eb_0
    scipy:        0.19.1-py35_blas_openblas_202 conda-forge [blas_openblas] --> 0.19.1-py35hf362045_3

Proceed ([y]/n)?


Downloading and Extracting Packages
scipy 0.19.1############################################################################################################################################################################################ | 100%
numpy 1.12.1############################################################################################################################################################################################ | 100%
blas 1.0################################################################################################################################################################################################ | 100%
scikit-learn 0.19.1##################################################################################################################################################################################### | 100%
q2_perc_norm 1.0######################################################################################################################################################################################## | 100%
certifi 2018.4.16####################################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Then, to check that the conda package was installed:

conda list | ag perc
q2_perc_norm              1.0                      py35_0    cduvallet

And finally, the big reveal:

$ qiime info
System versions
Python version: 3.5.5
QIIME 2 release: 2018.4
QIIME 2 version: 2018.4.0+5.g448758b
q2cli version: 2018.4.0.dev0+2.ga2e3105

Installed plugins
alignment: 2018.4.0.dev0
composition: 2018.4.0.dev0
cutadapt: 2018.4.0.dev0
dada2: 2017.12.1.dev0+10.g5e74513
deblur: 2018.4.0.dev0+1.g9d1c639
demux: 2018.4.0.dev0+1.gf854e3d
diversity: 2017.12.0.dev0+16.g3372662
emperor: 2018.4.0.dev0+7.g8e30d63.dirty
feature-classifier: 2018.4.0.dev0
feature-table: 2018.4.0.dev0
gneiss: 2018.4.0.dev0
longitudinal: 2018.4.0.dev0+15.g91a471c
metadata: 2018.4.0.dev0
perc_norm: 0.0.1-dev
phylogeny: 2018.4.0.dev0
quality-control: 2018.4.0.dev0
quality-filter: 2018.4.0.dev0+2.g5a36e50
sample-classifier: 2018.4.0.dev0
taxa: 2018.4.0.dev0
types: 2018.4.0.dev0+1.gfdf4f0e
vsearch: 2018.4.0.dev0

Application config directory
/Users/matthew/Library/Application Support/q2cli

Getting help
To get help with QIIME 2, visit https://qiime2.org

One other thing that jumps out at me is that there is only a mac build of your plugin up on anaconda.org, that means if you are on a linux machine and try to install this package, conda will fail to resolve a valid linux-formatted package. Two ways around this come to mind:

  1. Build a version of your package on a linux machine (more work, need to have a linux computer)
  2. Build a noarch version of your package on your mac (less work).

The noarch package lets you upload one build that is compatible on multiple platforms - the caveat here is that it is up to you to know if that is the case or not (it looks like you should be safe to go with this option, I think :crossed_fingers:)


Good luck and keep us posted! :t_rex: