Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error running Picrust 2

27 views
Skip to first unread message

Min Zeng

unread,
Sep 26, 2024, 1:45:39 PM9/26/24
to picrust-users
Hi - could anyone help me with this error message. Thank you!

I ran the code "picrust2_pipeline.py -s rep_seqs.fasta -i feature-table.biom -o picrust2_result"

I keep getting the following error message even if I tried to reinstall Rcpp

Error running this command:

hsp.py --tree picrust2_result/out.tre --output picrust2_result/marker_predicted_and_nsti.tsv.gz --observed_trait_table /opt/miniconda3/envs/picrust2/lib/python3.9/site-packages/picrust2/default_files/prokaryotic/16S.txt.gz --hsp_method mp --edge_exponent 0.5 --seed 100 --calculate_NSTI --processes 1

Standard error of the above failed command:

Error running this command:

Rscript /opt/miniconda3/envs/picrust2/lib/python3.9/site-packages/picrust2/Rscripts/castor_nsti.R picrust2_result/out.tre /var/folders/hw/f5b5dykx4s71xh48nbn2zzrh0000gn/T/tmpt1yh7f1q/known_tips.txt /var/folders/hw/f5b5dykx4s71xh48nbn2zzrh0000gn/T/tmpt1yh7f1q/nsti_out.txt

Standard error of the above failed command:

Error: package or namespace load failed for ‘Rcpp’ in library.dynam(lib, package, package.lib):

 shared object ‘Rcpp.dylib’ not found

In addition: Warning messages:

1: package ‘castor’ was built under R version 4.4.1 

2: package ‘Rcpp’ was built under R version 4.4.1 

Execution halted

Robyn Wright

unread,
Sep 26, 2024, 3:21:37 PM9/26/24
to picrust-users
Hi there,

I think that is an issue with your Rcpp install - some other people have had similar issues and have posted solutions here and here

Reply all
Reply to author
Forward
0 new messages