arpcard / rgi

Resistance Gene Identifier (RGI). Software to predict resistomes from protein or nucleotide data, including metagenomics data, based on homology and SNP models.
Other
319 stars 76 forks source link

can not conda install #218

Closed Wanli-HE closed 1 year ago

Wanli-HE commented 1 year ago

hi do you have any idea why it can not conda install rgi

Wanli-HE commented 1 year ago

and are you plan to solve this?

bgizelarMCW commented 1 year ago

Having same issue trying to install rgi==6.0.2 with conda:

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: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

ResolvePackageNotFound:

rbtoscan commented 1 year ago

Same here.

Running conda install --channel bioconda rgi for over an hour.

JuanmaMedina commented 1 year ago

I have the same issue. It also gets stuck when specifying to install the most updated version.

conda install --channel conda-forge --channel bioconda --channel defaults rgi

Edit: as stated in https://github.com/arpcard/rgi/issues/216, installing RGI with mamba (in base environment) seems to work fine:

mamba create -c iuc -c conda-forge -c bioconda -c defaults --no-channel-priority --name RGI rgi

rbtoscan commented 1 year ago

I was also successful installing using: conda create --name rgi --channel conda-forge --channel bioconda --channel defaults --no-channel-priority rgi=6.0.1

However it took nearly a week to work. I believe mamba is faster (it usually is).

Yuxia88 commented 1 year ago

Having same issue trying to install rgi==6.0.2 with conda: Solving environment: failed CondaValueError: Malformed version string '~': invalid character(s).

Amjadhpc commented 1 year ago

I have used mamba instead of conda to install rgi==6.0.2 https://anaconda.org/conda-forge/mamba

Just replace conda with mamba in the installation script and it should work fine.

raphenya commented 1 year ago

@Amjadhpc Thank you! @Wanli-HE please try the following command to install RGI lastest version:

mamba create --name rgi --channel conda-forge --channel bioconda --channel defaults rgi=6.0.2