Closed manolis2023 closed 10 months ago
Hi, the same happened to me yesterday, but I finally solved it based on https://stackoverflow.com/questions/69187142/solving-environment-failed-with-current-repodata-json-will-retry-with-next-rep
First, update your conda conda update conda
Make sure you added the necessary channels conda config --add channels defaults conda config --add channels bioconda conda config --add channels conda-forge
Update a package called conda-canary (I'm not sure what it does) conda update conda -c conda-canary
Change your channel priority to false conda config --set channel_priority false
create your environment conda create -n rgi
activate the new environment conda activate rgi
Install the last version of rgi conda install rgi=6.0.2
Test that rgi works rgi main -v
I hope it works!
Hi, I tried to use your method , but it does not work , the same reaction as before. When conda install rgi=6.0.2, it has been parked at solving environment:
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: |
Best
I got exactly those messages. It took some minutes to solve the environment but it finally worked after being patient
ok,I'll wait and see what happens today. How long did it take you to finally install it?
I don't remember exactly, but it was like ~20 mins...
Hi,I tried many times today and still stopped solving the environment for hours with no change. Is there any other way to install rgi?
Some people solved the issue using mamba instead of conda https://github.com/arpcard/rgi/issues/178 https://github.com/arpcard/rgi/issues/203
Thank you. I did it successfully.
Best wishes
Hi, I have another problem. I don't know if you have
When running code:rgi main -i faa -o CARD -n 5 --debug -t protein -a DIAMOND --clean --local Something wrong were happened:
INFO 2023-02-18 11:36:33,974 : create blast DB. INFO 2023-02-18 11:36:34,526 : create diamond DB. Error: Accession file not found. BLAST databases require preprocessing using this command line: diamond prepdb -d DATABASE_PATH INFO 2023-02-18 11:36:34,825 : run filter ERROR 2023-02-18 11:36:34,825 : missing blast xml file. Please check if input_type: 'protein' correspond with input file: ‘--low_quality' flag for short contigs to predicts partial genes.
However,when I nonuse the option ,-a DIAMOND,there were nothing wrong happened.
What is the reason for this? Thank you very much.
This is specific to mamba, but I was only able to get it to install by adding --no-channel-priority
:
mamba install -c conda-forge -c bioconda -c defaults --no-channel-priority rgi==6.0.2
Issue is stale and will be closed in 7 days unless there is new activity
Hi,
I'm trying to install rgi from conda but the installation never finish. Last time was running all the night, without any warning/error, looking for the packages.
I used your conda code as also the simply "conda install", but nothing.
Best