Installation issue for version 2.6.0

93 views
Skip to first unread message

Chao-Jui Chang

unread,
Feb 10, 2025, 8:30:51 AMFeb 10
to picrust-users
Hi Robin 

I am reaching out regarding an issue I encountered related to #373.
As you noted, there had been an update, and I attempted to follow the necessary steps on February 6, 2025.

Initially, I used the following command to clone the repository:

```
git clone --single-branch -b PICRUSt2-v2.6.0 https://github.com/picrust/picrust2
```

Unfortunately, I received the following error:

```
Cloning into 'picrust2'...
warning: Could not find remote branch PICRUSt2-v2.6.0 to clone.
fatal: Remote branch PICRUSt2-v2.6.0 not found in upstream origin
```

To address this, I modified my installation approach as follows:

```
git clone https://github.com/picrust/picrust2.git
mv picrust2 picrust2-v2.6.0
cd picrust2-v2.6.0
conda env create -n picrust2-v2.6.0 -f picrust2-env.yaml
conda activate picrust2-v2.6.0
pip install --editable .
```

I was able to successfully install picrust2-v2.6.0. However, when attempting to execute `picrust2_pipeline_split.py`, I encountered the following error:

```
picrust2_pipeline_split.py: command not found
```

I would like to note that `picrust2_pipeline.py` worked without any issues.

In an effort to resolve the problem, I followed an alternative installation route:

```
wget https://github.com/picrust/picrust2/archive/v2.6.0.tar.gz
tar xvzf v2.6.0.tar.gz
cd picrust2-2.6.0/
conda env create -n picrust2-v2.6.0_new -f picrust2-env.yaml
conda activate picrust2-v2.6.0_new
pip install --editable .
```

I encountered the same error: `picrust2_pipeline_split.py: command not found`.


I successfully downloaded version 2.6.0 while testing the updated PICRUSt2 database on December 24, 2024, and it worked correctly.

I am unsure what might be going wrong and would greatly appreciate your assistance in resolving this issue. I have attached the details of the installation process for your reference.

  
Thank you for your attention to this matter.

Best regards,

Chao-Jui


2025.02.06 PICRUST 2.6.0 re-INSTALL RECORD_u.txt

Robyn Wright

unread,
Feb 10, 2025, 8:34:59 AMFeb 10
to picrust-users
Hi Chao-Jui,

The command picrust2_pipeline_split.py is one that I was initially using for the new version of PICRUSt2, but I've since updated things for the default use of PICRUSt2 with picrust2_pipeline.py to be with the new database. If you follow the workflow instructions here, they should work for you. 

Best wishes,
Robyn

Reply all
Reply to author
Forward
0 new messages