Open AbDiscover opened 4 months ago
From your command it seems that you are missing the -v
flag;
docker run \
ghcr.io/haddocking/proabc-2:latest \
-v `pwd`:/data \ ## This line
/home/user/proabc2-work h.fasta l.fasta
you might need to adjust the paths to your case
“yilu@localhost:~/proabc2-work$ docker run ghcr.io/haddocking/proabc-2:latest -v /home/yilu/proabc2-work h.fasta l.fasta usage: proabc2 [-h] folder heavy light proabc2: error: unrecognized arguments: -v” It seems that “-v” can be recognized
The -v
goes inside the docker arguments, try this:
Go into your home directory
cd /home/yilu
Run the command:
docker run \
-v `pwd`:/data
ghcr.io/haddocking/proabc-2:latest \
proabc2-work h.fasta l.fasta
@.***:~$ docker run ghcr.io/haddocking/proabc-2:latest -v 'pwd':/data /home/yilu/proabc2-work h.fasta l.fasta usage: proabc2 [-h] folder heavy light proabc2: error: unrecognized arguments: -v l.fasta” At the same time,I tried “pip install” method,however, it was stopped as "ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from proabc-2) (from versions: 2.2.0 ..." The environement is based on Windows 11+WSL2+Docker-Desktop(win)+ubuntu20.04.
发件人: Rodrigo Vargas Honorato @.> 发送时间: 2024年6月6日 17:51 收件人: haddocking/proABC-2 @.> 抄送: AbDiscover @.>; Author @.> 主题: Re: [haddocking/proABC-2] [Errno 2] No such file or directory: '/home/***/proabc2-work/session.log". (Issue #14)
The -v goes inside the docker arguments, try this:
Go into your home directory
cd /home/yilu
Run the command:
docker run \
-v pwd
:/data
ghcr.io/haddocking/proabc-2:latest \
proabc2-work h.fasta l.fasta
― Reply to this email directly, view it on GitHubhttps://github.com/haddocking/proABC-2/issues/14#issuecomment-2151871550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BI6TRHIRYOFMXJE5X3XR5Z3ZGAWJ7AVCNFSM6AAAAABI2GECC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRHA3TCNJVGA. You are receiving this because you authored the thread.Message ID: @.***>
It's ` not '
docker run \
-v `pwd`:/data
ghcr.io/haddocking/proabc-2:latest \
proabc2-work h.fasta l.fasta
I am experiencing the same issue. Could you please advise on how to resolve this? I have attempted multiple solutions provided, but each time I receive the error message: "No such file or directory: proabc2-prediction/session.log."
Could you please share what command you tried to input?
Thanks @Iqrarshad, indeed with powershell/cmd i'm also getting this error. Could you instead try via WSL and check if that works for you?
My issue has been resolved. The folder we created earlier, "proabc2-prediction," required permission to write a log file. I updated the permissions of the folder, and it worked for me.
Thanks for the update on the workaround 👍🏽
I used docker as " docker run ghcr.io/haddocking/proabc-2:latest /home//proabc2-work h.fasta l.fasta", however, the error cames"[Errno 2] No such file or directory: '/home//proabc2-work/session.log". May I have your advice on this?