phac-nml / mob-suite

MOB-suite: Software tools for clustering, reconstruction and typing of plasmids from draft assemblies
Apache License 2.0
118 stars 31 forks source link

conda installation error #136

Closed Khabibullin543 closed 1 year ago

Khabibullin543 commented 1 year ago

Hello! Сould you explain why this error occurs?

(py310) khabibullinnr@microbgenome:~$ conda install -c bioconda mob_suite Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: done

Package Plan

environment location: /home/MZRF/khabibullinnr/miniconda3/envs/py310

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
pycurl-7.45.1              |  py310h2aed498_3          74 KB  conda-forge
------------------------------------------------------------
                                       Total:          74 KB

The following NEW packages will be INSTALLED:

mob_suite bioconda/noarch::mob_suite-3.0.0-py_1 pycurl conda-forge/linux-64::pycurl-7.45.1-py310h2aed498_3

Proceed ([y]/n)? y

Downloading and Extracting Packages

Preparing transaction: done Verifying transaction: done Executing transaction: done ERROR conda.core.link:_execute(740): An error occurred while installing package 'bioconda::mob_suite-3.0.0-py_1'. Rolling back transaction: done

LinkError: post-link script failed for package bioconda::mob_suite-3.0.0-py_1 location of failed script: /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/.mob_suite-post-link.sh ==> script messages <==

==> script output <== stdout: ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-c++ ERROR: deactivate-gxx_linux-64.sh failed, see above for details ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-gfortran ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-cc ERROR: deactivate-gcc_linux-64.sh failed, see above for details ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-cc ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-gfortran ERROR: This cross-compiler package contains no program /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/x86_64-conda-linux-gnu-c++ ERROR: activate-gxx_linux-64.sh failed, see above for details stderr: /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/.mob_suite-post-link.sh: строка 3: /home/MZRF/khabibullinnr/miniconda3/envs/py310/bin/mob_init: Отказано в доступе return code: 126 ()
jrober84 commented 1 year ago

This doesn't look to be an issue with mob-suite but the conda environment you are installing it into. Can you try installing into a new conda env and see if it is reproducible? conda create -n mobtest -y -c bioconda mob_suite

jrober84 commented 1 year ago

closing due to inactivity