RESCRIPt plugin error

Hi,
I am having the similar trouble issue as described in this thread when installing RESCRIPt.

RESCRIPt plugin not found even though installed 3

I sucessfully installed it inside my qiime2-2022.2 environment using the commands described on the github page

pip install git+https://github.com/bokulich-lab/RESCRIPt.git

The message I got after reads:


DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.

Collecting git+https://github.com/bokulich-lab/RESCRIPt.git
  Cloning https://github.com/bokulich-lab/RESCRIPt.git to /private/var/folders/c7/b0nwnl650c35n5gzff7x80b80000gn/T/pip-req-build-XPe8XM
  Running command git clone -q https://github.com/bokulich-lab/RESCRIPt.git /private/var/folders/c7/b0nwnl650c35n5gzff7x80b80000gn/T/pip-req-build-XPe8XM
Requirement already satisfied (use --upgrade to upgrade): rescript==2021.11.0+3.g8aa880e from git+https://github.com/bokulich-lab/RESCRIPt.git in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Building wheels for collected packages: rescript
  Building wheel for rescript (setup.py) ... done
  Created wheel for rescript: filename=rescript-2021.11.0+3.g8aa880e-py2-none-any.whl size=232613 sha256=6c18a41d423dfb7e4a834fa88bb713233c99c5dcac1ded5ea1e4d547e8a0418f
  Stored in directory: /private/var/folders/c7/b0nwnl650c35n5gzff7x80b80000gn/T/pip-ephem-wheel-cache-u8nqTi/wheels/75/19/eb/fc5387ec465bf16c772c05fe259075e927a9ccfd3925c4dc28
Successfully built rescript

However when I try run qiime rescript I get ther error:

Error: QIIME 2 has no plugin/command named 'rescript'.

I tried all different options described in the above discusssion threads but with no luck. I would really appreciate any guidance! Thank you.

Hi @Dastogeer,

It appears you are trying to install or run from within a python 2.7 environment? Did you activate your qiime2-2022.2 environment prior to attempting to installing and running rescript?

Please provide all your commands from the conda activate qiime2022.2 command through installation, and then run qiime rescript --help

Dear @SoilRotifer,

Thanks for your reply. Now it is successfully installed and working good. Basiclly, I removed my python 2.7, anaconda2, all qiime versions from my mac. Then I reinstalled qiime2-2022.2 and rescript in my anaconda3 environment. Hope I can continue my analyses now. Regards.

2 Likes