Error when installing q2-picrust2 plugin

Hi guys!
I have some trouble with installing q2-picrust2 plugin through conda
I am following the q2-picrust2 community toturial
The environment I used is CentOS7.7 .Memory is 256GB.
I try to install this plugin under both qiime2-2019.7 and qiime2-2019.10 conda environment but it always has some trouble.

Here is some error log.

$conda install q2-picrust2=2019.7 -c conda-forge -c bioconda -c gavinmdouglas
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/djShen/miniconda3/envs/qiime2-2019.7

  added / updated specs:
    - q2-picrust2=2019.7


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    epa-ng-0.3.5               |       he860b03_0         1.3 MB  bioconda
    gappa-0.4.0                |       he860b03_0         1.2 MB  bioconda
    libidn2-2.3.0              |       h516909a_0          97 KB  conda-forge
    q2-picrust2-2019.7         |           py36_0          39 KB  gavinmdouglas
    r-castor-1.4.1             |    r35h0357c0b_1         1.2 MB  conda-forge
    r-naturalsort-0.1.3        | r35h6115d3f_1002          21 KB  conda-forge
    r-nloptr-1.2.1             |    r35h0357c0b_1         468 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         4.2 MB

The following NEW packages will be INSTALLED:

  coverage           conda-forge/linux-64::coverage-4.5.4-py36h516909a_0
  epa-ng             bioconda/linux-64::epa-ng-0.3.5-he860b03_0
  gappa              bioconda/linux-64::gappa-0.4.0-he860b03_0
  glpk               conda-forge/linux-64::glpk-4.65-he80fd80_1002
  hmmer              bioconda/linux-64::hmmer-3.2.1-he1b5a44_2
  libidn2            conda-forge/linux-64::libidn2-2.3.0-h516909a_0
  libunistring       conda-forge/linux-64::libunistring-0.9.10-h14c3975_0
  picrust2           bioconda/noarch::picrust2-2.2.0_b-py_0
  pytest-cov         conda-forge/noarch::pytest-cov-2.8.1-py_0
  q2-picrust2        gavinmdouglas/noarch::q2-picrust2-2019.7-py36_0
  r-castor           conda-forge/linux-64::r-castor-1.4.1-r35h0357c0b_1
  r-naturalsort      conda-forge/noarch::r-naturalsort-0.1.3-r35h6115d3f_1002
  r-nloptr           conda-forge/linux-64::r-nloptr-1.2.1-r35h0357c0b_1
  wget               conda-forge/linux-64::wget-1.20.1-h22169c7_0

The following packages will be UPDATED:

  ca-certificates                      2019.6.16-hecc5488_0 --> 2019.9.11-hecc5488_0
  certifi                                  2019.6.16-py36_1 --> 2019.9.11-py36_0
  openssl                                 1.1.1c-h516909a_0 --> 1.1.1d-h516909a_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
r-naturalsort-0.1.3  | 21 KB     | ############################################################# | 100%
q2-picrust2-2019.7   | 39 KB     | ############################################################# | 100%
epa-ng-0.3.5         | 1.3 MB    | ############################################################# | 100%
libidn2-2.3.0        | 97 KB     | ############################################################# | 100%
r-castor-1.4.1       | 1.2 MB    | ############################################################# | 100%
r-nloptr-1.2.1       | 468 KB    | ############################################################# | 100%
gappa-0.4.0          | 1.2 MB    | ############################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: / b'ERROR: post-link.sh was unable to download /home/djShen/miniconda3/envs/qiime2-2019.7/staging/v2.2.0-b.tar.gz with the sha256 c41e1f487b33179f4aecede50cfd8b652aa3cef2ea1ae5fd022f531c7d549097 from https://github.com/picrust/picrust2/archive/v2.2.0-b.tar.gz.\n'                        done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'bioconda::picrust2-2.2.0_b-py_0'.
Rolling back transaction: done

LinkError: post-link script failed for package bioconda::picrust2-2.2.0_b-py_0
location of failed script: /home/djShen/miniconda3/envs/qiime2-2019.7/bin/.picrust2-post-link.sh
==> script messages <==
ERROR: post-link.sh was unable to download /home/djShen/miniconda3/envs/qiime2-2019.7/staging/v2.2.0-b.tar.gz with the sha256 c41e1f487b33179f4aecede50cfd8b652aa3cef2ea1ae5fd022f531c7d549097 from https://github.com/picrust/picrust2/archive/v2.2.0-b.tar.gz.

==> script output <==
stdout: /home/djShen/miniconda3/envs/qiime2-2019.7/staging/v2.2.0-b.tar.gz: FAILED

stderr: QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
--2019-11-15 08:06:19--  https://github.com/picrust/picrust2/archive/v2.2.0-b.tar.gz
Resolving github.com (github.com)... 13.250.177.223
Connecting to github.com (github.com)|13.250.177.223|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/picrust/picrust2/tar.gz/v2.2.0-b [following]
--2019-11-15 08:06:21--  https://codeload.github.com/picrust/picrust2/tar.gz/v2.2.0-b
Resolving codeload.github.com (codeload.github.com)... 54.251.140.56
Connecting to codeload.github.com (codeload.github.com)|54.251.140.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/home/djShen/miniconda3/envs/qiime2-2019.7/staging/v2.2.0-b.tar.gz’

     0K .......... .......... .......... .......... .......... 27.3K
    50K .......... .......... .......... .......... .......... 42.7K
   100K .......... .......... .......... .......... .......... 36.2K
   150K .......... .......... .......... .......... .......... 31.5K
   200K .......... .......... .......... .......... .......... 29.9K
   250K .......... .......... .......... .......... .......... 13.1K
   300K .......... .......... .......... .......... .......... 21.6K
   350K .......... .......... .......... .......... .......... 13.8K
   400K .......... .......... .......... .......... .......... 12.4K
   450K .......... .......... .......... .......... .......... 26.7K
   500K .......... .......... .......... .......... .......... 25.0K
   550K .......... .......... .......... .......... .......... 36.0K
   600K .......... .......... .......... .......... .......... 34.3K
   650K .......... .......... .......... .......... .......... 40.7K
   700K .......... .......... .......... .......... .......... 42.3K
   750K .......... .......... .......... .......... .......... 36.9K
   800K .......... .......... .......... .......... .......... 41.2K
   850K .......... .......... .......... .......... .......... 6.63K
   900K .......... .......... .......... .......... .......... 20.0K
   950K .......... .......... .......... .......... .......... 16.5K
  1000K .......... .......... .......... .......... .......... 7.64K
  1050K .......... .......... .......... .......... .......... 19.0K
  1100K .......... .......... .......... .......... .......... 34.6K
  1150K .......... .......... .......... .......... .......... 16.2K
  1200K .......... .......... .......... .......... .......... 13.0K
  1250K .......... .......... .......... .......... .......... 32.3K
  1300K .......... .......... .......... .......... .......... 40.3K
  1350K .......... .......... .......... .......... .......... 95.3K
  1400K .......... .......... .......... .......... .......... 50.0K
  1450K .......... .......... .......... .......... .......... 93.6K
  1500K .......... .......... .......... .......... ..........  144K
  1550K .......... .......... .......... .......... .......... 66.9K
  1600K .......... .......... .......... .......... .......... 57.0K
  1650K .......... .......... .......... .......... .......... 55.8K
  1700K .......... .......... .......... .......... .......... 29.2K
  1750K .......... .......... .......... .......... .......... 40.6K
  1800K .......... .......... .......... .......... .......... 10.8K
  1850K .......... .......... .......... .......... .......... 32.9K
  1900K .......... .......... .......... .......... .......... 50.4K
  1950K .......... .......... .......... .......... .......... 52.9K
  2000K .......... .......... .......... .......... .......... 77.5K
  2050K .......... .......... .......... .......... .......... 78.0K
  2100K .......... .......... .......... .......... .......... 31.3K
  2150K .......... .......... .......... .......... .......... 41.0K
  2200K .......... .......... .......... .......... .......... 29.5K
  2250K .......... .......... .......... .......... .......... 24.5K
  2300K .......... .......... .......... .......... .......... 27.4K
  2350K .......... .......... .......... .......... .......... 9.15K
  2400K .......... .......... .......... .......... .......... 20.8K
  2450K .......... .......... .......... .......... .......... 33.9K
  2500K .......... .......... .......... .......... .......... 30.6K
  2550K .......... .......... .......... .......... .......... 33.0K
  2600K .......... .......... .......... .......... .......... 44.1K
  2650K .......... .......... .......... .......... .......... 29.9K
  2700K .......... .......... .......... .......... .......... 7.84K
  2750K .......... .......... .......... .......... .......... 15.4K
  2800K .......... .......... .......... .......... .......... 14.3K
  2850K .......... .......... .......... .......... .......... 28.5K
  2900K .......... .......... .......... .......... .......... 41.1K
  2950K .......... .......... .......... .......... .......... 55.6K
  3000K .......... .......... .......... .......... .......... 52.1K
  3050K .......... .......... .......... .......... .......... 52.9K
  3100K .......... .......... .......... .......... .......... 56.3K
  3150K .......... .......... .......... .......... .......... 55.8K
  3200K .......... .......... .......... .......... .......... 55.4K
  3250K .......... .......... .......... .......... .......... 69.7K
  3300K .......... .......... .......... .......... .......... 60.1K
  3350K .......... .......... .......... .......... .......... 84.9K
  3400K .......... .......... .......... .......... .......... 55.3K
  3450K .......... .......... .......... .......... .......... 61.5K
  3500K .......... .......... .......... .......... .......... 23.2K
  3550K .......... .......... .......... .......... .......... 23.9K
  3600K .......... .......... .......... .......... .......... 40.8K
  3650K .......... .......... .......... .......... .......... 34.4K
  3700K .......... .......... .......... .......... .......... 31.7K
  3750K .......... .......... .......... .......... .......... 33.9K
  3800K .......... .......... .......... .......... .......... 13.6K
  3850K .......... .......... .......... .......... .......... 42.3K
  3900K .......... .......... .......... .......... .......... 27.8K
  3950K .......... .......... .......... .......... .......... 29.5K
  4000K .......... .......... .......... .......... .......... 32.3K
  4050K .......... .......... .......... .......... .......... 44.1K
  4100K .......... .......... .......... .......... .......... 43.5K
  4150K .......... .......... .......... .......... .......... 41.5K
  4200K .......... .......... .......... .......... .......... 34.5K
  4250K .......... .......... .......... .......... .......... 26.8K
  4300K .......... .......... .......... .......... .......... 33.3K
  4350K .......... .......... .......... .......... .......... 27.5K
  4400K .......... .......... .......... .......... .......... 33.2K
  4450K .......... .......... .......... .......... .......... 43.4K
  4500K .......... .......... .......... .......... .......... 34.4K
  4550K .......... .......... .......... .......... .......... 19.0K
  4600K .......... .......... .......... .......... .......... 7.32K
  4650K .......... .......... .......... .......... .......... 11.6K
  4700K .......... .......... .......... .......... .......... 13.2K
  4750K .......... .......... .......... .......... .......... 14.8K
  4800K .......... .......... .......... .......... .......... 19.4K
  4850K .......... .......... .......... .......... .......... 7.40K
  4900K .......... .......... .......... .......... .......... 15.4K
  4950K .......... .......... .......... .......... .......... 12.9K
  5000K .......... .......... .......... .......... .......... 24.2K
  5050K .......... .......... .......... .......... .......... 11.9K
  5100K .......... .......... .......... .......... .......... 34.4K
  5150K .......... .......... .......... .......... .......... 19.3K
  5200K .......... .......... .......... .......... .......... 17.4K
  5250K .......... .......... .......... .......... .......... 28.5K
  5300K .......... .......... .......... .......... .......... 32.9K
  5350K .......... .......... .......... .......... .......... 24.3K
  5400K .......... .......... .......... .......... .......... 18.9K
  5450K .......... .......... .......... .......... .......... 19.1K
  5500K .......... .......... .......... .......... .......... 17.1K
  5550K .......... .......... .......... .......... .......... 24.1K
  5600K .......... .......... .......... .......... .......... 11.0K
  5650K .......... .......... .......... .......... .......... 25.1K
  5700K .......... .......... .......... .......... .......... 9.52K
  5750K .......... .......... .......... .......... .......... 12.7K
  5800K .......... .......... .......... .......... .......... 20.8K
  5850K .......... .......... .......... .......... .......... 23.1K
  5900K .......... .......... .......... .......... .......... 25.6K
  5950K .......... .......... .......... .......... .......... 11.7K
  6000K .......... .......... .......... .......... .......... 10.8K
  6050K .......... .......... .......... .......... .......... 19.6K
  6100K .......... .......... .......... .......... .......... 19.0K
  6150K .......... .......... .......... .......... .......... 33.0K
  6200K .......... .......... .......... .......... .......... 27.2K
  6250K .......... .......... .......... .......... .......... 29.0K
  6300K .......... .......... .......... .......... .......... 30.4K
  6350K .......... .......... .......... .......... .......... 33.5K
  6400K .......... .......... .......... .......... .......... 32.6K
  6450K .......... .......... .......... .......... .......... 13.9K
  6500K .......... .......... .......... .......... .......... 9.50K
  6550K .......... .......... .......... .......... .......... 16.7K
  6600K .......... .......... .......... .......... .......... 13.7K
  6650K .......... .......... .......... .......... .......... 10.4K
  6700K .......... .......... .......... .......... .......... 13.5K
  6750K .......... .......... .......... .......... .......... 13.3K
  6800K .......... .......... .......... .......... .......... 9.10K
  6850K .......... .......... .......... .......... .......... 8.71K
  6900K .......... .......... .......... .......... .......... 9.23K
  6950K .......... .......... .......... .......... .......... 33.6K
  7000K .......... .......... .......... .......... .......... 56.3K
  7050K .......... .......... .......... .......... .......... 41.5K
  7100K .......... .......... .......... .......... .......... 49.1K
  7150K .......... .......... .......... .......... .......... 47.9K
  7200K .......... .......... .......... .......... .......... 41.4K
  7250K .......... .......... .......... .......... .......... 25.9K
  7300K .......... .......... .......... .......... .......... 13.7K
  7350K .......... .......... .......... .......... .......... 18.9K
  7400K .......... .......... .......... .......... .......... 10.2K
  7450K .......... .......... .......... .......... .......... 18.9K
  7500K .......... .......... .......... .......... .......... 9.73K
  7550K .......... .......... .......... .......... .......... 15.1K
  7600K .......... .......... .......... .......... .......... 20.1K
  7650K .......... .......... .......... .......... .......... 13.3K
  7700K ........                                               26.8K=6m1s

2019-11-15 08:12:24 (21.3 KB/s) - ‘/home/djShen/miniconda3/envs/qiime2-2019.7/staging/v2.2.0-b.tar.gz’ saved [7893000]

sha256sum: WARNING: 1 computed checksum did NOT match

return code: 1

()

It seem that a package sha256 is not correct.What should I do to fix this problem?:face_with_raised_eyebrow:

1 Like

Try installing it again. Hopefully the next time it downloads, the checksum will be correct. :+1:

3 Likes

I change my server’s DNS and it worked!
Seems like it is a network issue!:joy:
Thank you @colinbrislawn

2 Likes