RoseTTAFold icon indicating copy to clipboard operation
RoseTTAFold copied to clipboard

error in Install

Open lll16 opened this issue 3 years ago • 5 comments

Hello: When I run commad'conda env create -f RoseTTAFold-linux-cu101.yml' or 'conda env create -f RoseTTAFold-linux.yml', I'm both getting the following error: Collecting package metadata (repodata.json): done Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other: Is this my problem with my running environment. How to solve this problem?

Thany you!

lll16 avatar Jul 16 '21 08:07 lll16

Can you provide the conda version and machine info (Ubuntu 20 or Windows etc)?

And can you show the channels info via conda config --show-sources

JustinDoIt avatar Jul 17 '21 08:07 JustinDoIt

Machine info is Ubuntu 18.04.2, conda version is 4.7.10. When I run 'conda config --show-sources',it's no message returned.

lll16 avatar Jul 17 '21 11:07 lll16

Machine info is Ubuntu 18.04.2, conda version is 4.7.10. When I run 'conda config --show-sources' ,it's no message returned.

@lll16 There are two possible solutions you can try:

(I have successfully created the conda env using conda env create -f RoseTTAFold-linux.yml in Ubuntu 20.04.2 LTS and conda 4.10.3 with conda channels :

==> /home/zhangjq/.condarc <==
channels:
  - conda-forge
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
  - bioconda
  - defaults
always_yes: True

the reason why your command conda config --show-sources shows nothing may be that you haven't configured conda channel info, right?)

S1: config your conda channel

create .condarc file using

conda config

and add some channels (you can copy my channel, but please note that I am in Beijing)

conda config --add channels conda-forge
conda config --add channels xxx

or modify the .condarc file directly

vim /path/to/.condarc 

if you do not know where to find .condarc, you can

conda info

S2: update your conda version

conda update conda=4.10.3

One more word, your problem may be conda's issue

https://github.com/conda/conda/issues/9367

At present, there is no satisfactory solution, the compromise is to use pip to install. (But pip and conda are not completely compatible, sometimes an error will be reported. )

hope reproducing conda version and channels can help you

JustinDoIt avatar Jul 18 '21 02:07 JustinDoIt

Thanks your suggestion, I'll be trying.

lll16 avatar Jul 18 '21 06:07 lll16

Hello: When I run commad'conda env create -f RoseTTAFold-linux-cu101.yml' or 'conda env create -f RoseTTAFold-linux.yml', I'm both getting the following error: Collecting package metadata (repodata.json): done Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other: Is this my problem with my running environment. How to solve this problem?

Thany you!

Hi all, In RHEL 7.5, updating conda to 4.10.3 fix the same issue. RosettaFold maintainers, please, add this issue in the installation documentation.

mglgc avatar Aug 09 '21 10:08 mglgc