Comments (9)
This error come while installing from bioconda
(base) rupin@RUPINs-MacBook-Air ~ % conda create -n picrust2 -6 bioconda - conda-forge picrust2=2.5.2
[Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort. failed
PackagesNotFoundError: The following packages are not available from current channels:
- hmmer[version='>=3.1b2, ≤3.2.1'1
Current channels: - https://conda.anaconda.org/bioconda/osx-arm64
- https://conda.anaconda.org/bioconda/noarch
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(base) rupin@RUPINs-MacBook-Air ~
this error comes while installing from source
(base) rupin@RUPINs-MacBook-Air picrust2-2.5.2 % conda env create -f picrust2-envyam]
conda activate picrust2 pip install -editable •
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- biom-format[version='>=2.1.10' ]
- r-castor[version='>=1.7.2']
- epa-ng=0.3.8
- gappa=0.8.0
- hmmer[ version='>=3.1b2, <=3.2.1']
- sepp=4.3.10
Focan ast a tEsoverable environments water com into ens?.
You can list all discoverable environments with
Obtaining file:///Users/rupin/picrust2-2.5.2
Preparing metadata (setup. py) ... done
Requirement already satisfied: numpy in /Users/rupin/miniconda3/lib/python3.11/site-packages (from PICRUSt2==2.5.2) (1.26.1)
Requirement already satisfied: h5py in /Users/rupin/miniconda3/lib/python3.11/site-packages (from PICRUSt2==2.5.2) (3.10.0)
Requirement already satisfied: joblib in /Users/rupin/miniconda3/lib/python3.11/site-packages (from PICRUSt2==2.5.2) (1.3.2)
Requirement already satisfied: biom-format in /Users/rupin/miniconda3/lib/python3.11/site-packages (from PICRUSt2==2.5.2) (2.1.15)
Requirement already satisfied: click in /Users/rupin/miniconda3/lib/python3.11/site-packages (from biom-format=>PICRUSt2==2.5.2) (8.1.7)
Requirement already satisfied: scipy>=1.3.1 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from biom-format->PICRUSt2==2.5.2) (1.11.3)
Requirement already satisfied: pandas>=0.20.0 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from biom-format->PICRUSt2==2.5.2) (2.1.2)
Requirement already satisfied: python-dateutil>=2.8.2 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from pandas>=0.20.0->biom-format->PICRUSt2==2.5.2) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from pandas>=0.20.0->biom-format->PICRUSt2==2.5.2) (2023.3. post1)
Requirement already satisfied: tzdata>=2022.1 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from pandas>=0.20.0->biom-format->PICRUSt2==2.5.2) (2023.3)
Requirement already satisfied: six>=1.5 in /Users/rupin/miniconda3/lib/python3.11/site-packages (from python-dateuti1>=2.8.2-›pandas>=0.20.0->biom-format->PICRUSt2==2.5.2) (1.16.0)
Installing collected packages: PICRUSt2
Attempting uninstall: PICRUSt2
Found existing installation: PICRUSt2 2.5.2
Uninstalling PICRUSt2-2.5.2:
Successfully uninstalled PICRUSt2-2.5.2
Running setup.py develop for PICRUSt2
Successfully installed PICRUSt2-2.5.2 (base) rupin@RUPINs-MacBook-Air picrust2-2.5.2
from picrust2.
Hi there, based on your second install from source and screenshot, it says that it is successfully installed. Are you sure that it's not installed?
from picrust2.
Hi, but when i am activating it continuously showing -
rupin@RUPINs-MacBook-Air picrust2-2.5.2 % conda activate picrust2
EnvironmentNameNotFound: Could not find conda environment: picrust2
You can list all discoverable environments with conda info --envs
.
even not found in conda info-----
rupin@RUPINs-MacBook-Air picrust2-2.5.2 % conda info --envs
conda environments:
base /Users/rupin/miniconda3
qiime2-2023.7 /Users/rupin/miniconda3/envs/qiime2-2023.7
qiime2-amplicon-2023.9 /Users/rupin/miniconda3/envs/qiime2-amplicon-2023.9
qiime2-shotgun-2023.9 /Users/rupin/miniconda3/envs/qiime2-shotgun-2023.9
qiime2-tiny-2023.9 /Users/rupin/miniconda3/envs/qiime2-tiny-2023.9
from picrust2.
By this command mamba env create -f picrust2-env.yaml
conda activate picrust2
pip install --editable in between it showing
Could not solve for environment specs
The following packages are incompatible
├─ biom-format >=2.1.10 does not exist (perhaps a typo or a missing channel);
├─ epa-ng 0.3.8** does not exist (perhaps a typo or a missing channel);
├─ gappa 0.8.0** does not exist (perhaps a typo or a missing channel);
├─ hmmer >=3.1b2,<=3.2.1 does not exist (perhaps a typo or a missing channel);
├─ r-castor >=1.7.2 does not exist (perhaps a typo or a missing channel);
└─ sepp 4.3.10** does not exist (perhaps a typo or a missing channel).
from picrust2.
I was having a similar issue installing picrust2 on my macbook M1. I was able to resolve the issue by running my terminal in Rosetta, re-installing microconda, and following the instructions to download from source using the command below instead of the mamba command to create the environment:
CONDA_SUBDIR=osx-64 conda env create -f picrust2-env.yaml
from picrust2.
thanks ,it is installed by your command. But after pytest command to test it it showing some file or directory are not found.
../miniconda3/envs/picrust2/lib/python3.8/subprocess.py:1720: FileNotFoundError
====================================== short test summary info =======================================
FAILED tests/test_place_seqs.py::place_seqs_tests::test_run_place_seqs_pipeline_sepp - SystemExit: 1
FAILED tests/test_workflow.py::workflow_test::test_full_pipeline_tsv - FileNotFoundError: [Errno 2] No such file or directory: 'place_seqs.py'
FAILED tests/test_workflow.py::workflow_test::test_help_calls - FileNotFoundError: [Errno 2] No such file or directory: 'add_descriptions.py'
FAILED tests/test_workflow.py::workflow_test::test_picrust2_pipeline_script - FileNotFoundError: [Errno 2] No such file or directory: 'picrust2_pipeline.py'
FAILED tests/test_workflow.py::workflow_test::test_picrust2_pipeline_script_per_seq_contrib_strat - FileNotFoundError: [Errno 2] No such file or directory: 'picrust2_pipeline.py'
FAILED tests/test_workflow.py::workflow_test::test_picrust2_pipeline_script_per_seq_contrib_strat_skip_norm - FileNotFoundError: [Errno 2] No such file or directory: 'picrust2_pipeline.py'
============================== 6 failed, 55 passed in 93.27s (0:01:33) ===============================
from picrust2.
Did you change your terminal so it's running in Rosetta? I think I had the same error when I first tried to install it using the command above. I'm not 100% sure why that happened but I believe uninstalling microconda and reinstalling it when running the terminal in Rosetta fixed the issue. You could also try using miniforge instead of microconda!
from picrust2.
Apologies for my slow response on this. I've added what worked for me in here: #314
Could you see if that works?
from picrust2.
I'm just closing this issue as there hasn't been any further response.
from picrust2.
Related Issues (20)
- help please : Error running picrust2_pipeline.py HOT 2
- maximum recursion depth exceeded while calling a Python object
- Question about previous filtering of otu table HOT 3
- Customize database guidance HOT 4
- running picrust2 on ITS HOT 2
- metagenome contributions analysis HOT 2
- Running picrust on shotgun output from bracken HOT 2
- Error runnig picrust due to cannot import name '_convert_node_to_root_polytomy' HOT 2
- Absolute abundance data for picrust2 HOT 3
- pytest fails 1 test on test_place_seqs.py HOT 2
- Macbook M1 chip pytest error (sqlite3 import??) HOT 2
- Assign general function from KEGG pathway in pathways_out HOT 1
- PICRTUST 2 No such file or directory: 'hmmalign' HOT 2
- Gene family abundances per ASV rather than per sample HOT 1
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte HOT 3
- During pytest place_seqs.py fails and cannot run the full pipeline HOT 6
- complex definition effect on abundance calculation HOT 1
- Please help for picrust2 tutorial: cannot download the data set HOT 4
- Running picrust on full geomes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picrust2.