Coder Social home page Coder Social logo

Comments (9)

kumarrupin avatar kumarrupin commented on July 27, 2024

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:

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.

R-Wright-1 avatar R-Wright-1 commented on July 27, 2024

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.

kumarrupin avatar kumarrupin commented on July 27, 2024

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.

kumarrupin avatar kumarrupin commented on July 27, 2024

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.

blakemycake avatar blakemycake commented on July 27, 2024

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.

kumarrupin avatar kumarrupin commented on July 27, 2024

thanks ,it is installed by your command. But after pytest command to test it it showing some file or directory are not found.

screentshot-2.pdf

../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.

blakemycake avatar blakemycake commented on July 27, 2024

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.

R-Wright-1 avatar R-Wright-1 commented on July 27, 2024

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.

R-Wright-1 avatar R-Wright-1 commented on July 27, 2024

I'm just closing this issue as there hasn't been any further response.

from picrust2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.