# Trouble installing q2-perc-norm

**URL:** https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173
**Category:** Library Support
**Created:** [April 8, 2019, 3:56pm UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173 "2019-04-08T15:56:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![prince](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@prince](https://forum.qiime2.org/u/prince)
#### Post date: [April 8, 2019, 3:56pm UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/1 "2019-04-08T15:56:23Z")

</div>

@cduvallet  
For some reason, it doesn't work for my qiime2-2019.1 env. conda installation seems okay but I don't it listed in the plugins. I repeated the insulation and it indicates "# All requested packages already installed."

Alternatively, it works fine in qiime2-2018.8 env on the same computer. What could be the reason

---

<div class="post-metadata">

### Author: ![cduvallet](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cduvallet/32/1082_2.png) [@cduvallet](https://forum.qiime2.org/u/cduvallet)
#### Post date: [April 13, 2019, 3:07am UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/2 "2019-04-13T03:07:05Z")

</div>

Hi @prince,

Can you provide more information about your qiime2 installation, the steps you took to try to install the plugin, and any outputs or errors that you get? Otherwise, I don't have enough information to help you. Thanks!

---

<div class="post-metadata">

### Author: ![prince](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@prince](https://forum.qiime2.org/u/prince)
#### Post date: [April 23, 2019, 1:20am UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/3 "2019-04-23T01:20:34Z")

</div>

Hi @cduvallet,

Below are screen shots of the steps I took.  
conda activate qiime2-2019.1

conda install -c cduvallet q2\_perc\_norm

 ![09](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/4/4184018a4fbc29d762ba0a710b69493a61102bf2.jpeg) ![19](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/6/69b9ee0ee9362d05bacff6dc4c4173f1856f8f95.jpeg)

I tried qiime2 from another terminal after the installation but still could find perc\_norm

---

<div class="post-metadata">

### Author: ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)
#### Post date: [April 23, 2019, 4:56pm UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/4 "2019-04-23T16:56:22Z")

</div>

Hi @prince and @cduvallet,

I think I know whats going on, although I'm surprised conda didn't error.

First just to get our ducks in a row, run:

```auto
qiime dev refresh-cache

```

(This shouldn't matter, because it automatically detects new versions and re-runs itself as needed, but if everything was working as expected we'd see perc-norm in the list...)

* * *

What I think may have happened is the conda build for q2-perc-norm uses Python 3.5. As of 2019.1 we [switched to Python 3.6](https://forum.qiime2.org/t/new-year-new-python-3-6/8096), this means existing conda packages should be rebuilt for 3.6 (or built as no-arch).

We haven't made any changes to the plugin API, so q2-perc-norm should still work with the latest QIIME 2 version just fine. What we could do is perform a source installation instead which won't have the issue with Python 3.5 vs 3.6

If the source installation doesn't work, then something much stranger is happening.

---

<div class="post-metadata">

### Author: ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)
#### Post date: [April 23, 2019, 5:03pm UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/5 "2019-04-23T17:03:00Z")

</div>

I just took a peek inside the conda package for q2\_perc\_norm, and it looks like there is no host requirement set on the version of Python, however the library is packaged under:

```auto
/lib/python3.5/site-packages

```

which is meaningless to a 3.6 environment (which uses `/lib/python3.6/site-packages`).

* * *

Good news is a source install seems to work fine!

---

<div class="post-metadata">

### Author: ![cduvallet](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cduvallet/32/1082_2.png) [@cduvallet](https://forum.qiime2.org/u/cduvallet)
#### Post date: [April 25, 2019, 8:05pm UTC](https://forum.qiime2.org/t/trouble-installing-q2-perc-norm/9173/6 "2019-04-25T20:05:17Z")

</div>

Thanks, @ebolyen! Yep, I hadn't updated my package since everything switched to Python 3.6.

I just re-built the package with Python 3.6 and uploaded it to [anaconda](https://anaconda.org/cduvallet/q2_perc_norm), so you should be able to update the package with conda directly and everything will work as expected.

For posterity's sake, what @ebolyen meant by "installing from source" is to clone the repo and then run `python setup.py install` directly:

```bash
git clone https://github.com/cduvallet/q2-perc-norm.git 
cd q2-perc-norm
python setup.py install

```
