uw-ipd / RoseTTAFold2NA

RoseTTAFold2 protein/nucleic acid complex prediction
MIT License
310 stars 69 forks source link

Install problem: Use of uninitialized value $curl in concatenation #63

Open Takk522 opened 8 months ago

Takk522 commented 8 months ago

When I install the RoseTTAFold2NA, an error occurs at the last step "update_blastdb.pl --decompress nt", which is like below. Is there any people met the same problem? And how to deal with it? Thanks! Use of uninitialized value $curl in concatenation (.) or string at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 442. sh: 0: Illegal option -- Use of uninitialized value $curl in concatenation (.) or string at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 442. sh: 0: Illegal option -- Downloading https://ftp.ncbi.nlm.nih.gov/blast/db/nt.000.tar.gz...Use of uninitialized value $curl in concatenation (.) or string at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 602. Can't exec "--user": No such file or directory at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 605. corrupt download, trying again. Downloading https://ftp.ncbi.nlm.nih.gov/blast/db/nt.000.tar.gz...Use of uninitialized value $curl in concatenation (.) or string at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 602. Can't exec "--user": No such file or directory at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 605. corrupt download, trying again. Downloading https://ftp.ncbi.nlm.nih.gov/blast/db/nt.000.tar.gz...Use of uninitialized value $curl in concatenation (.) or string at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 602. Can't exec "--user": No such file or directory at /home/ljc/miniconda3/envs/RF2NA/bin/update_blastdb.pl line 605. too many failures, aborting download!

salireza111 commented 7 months ago

Hi install or update curl also on your main libraries (Not in the conda environment), by mine following these steps solved the problem:

sudo apt update
sudo apt upgrade

sudo apt install curl