Peregrine icon indicating copy to clipboard operation
Peregrine copied to clipboard

python2.7: command not found

Open zhenzhenyang-psu opened this issue 5 years ago • 2 comments

hello Jason, Sorry for not being able to use docker. This error message of mine might be an issue with conda. So the error message from run-xxx.bash.stderr is as follows: task.sh: line 18: python2.7: command not found

So under task.sh, there is a command which calls python2.7: time python2.7 -m pypeflow.do_task /public/home/yangzhzh/projects/0_aiden_lab/3_peregrine_test_run/2_assembly/wd/0-seqdb/task.json

It is interesting because on the pbs cluster, I installed Peregrine with conda, and the python version I used for conda is python3. So the default python is python3. Python2.7 is not installed on the cluster. Is there a way to get around this error? Thanks, Zhenzhen

zhenzhenyang-psu avatar Dec 16 '19 10:12 zhenzhenyang-psu

yes. it is possible that your conda is python2.7. The Peregrine code is only work for python3. One way to get around this error is to use the docker build or you should start with a clean conda environment to see if it helps.

cschin avatar Mar 20 '20 00:03 cschin

great! I will try it!

获取 Outlook for Androidhttps://aka.ms/ghei36


From: Jason Chin [email protected] Sent: Friday, March 20, 2020 8:01:47 AM To: cschin/Peregrine [email protected] Cc: zhenzhenyang-psu [email protected]; Author [email protected] Subject: Re: [cschin/Peregrine] python2.7: command not found (#26)

yes. it is possible that your conda is python2.7. The Peregrine code is only work for python3. One way to get around this error is to use the docker build or you should start with a clean conda environment to see if it helps.

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cschin/Peregrine/issues/26#issuecomment-601470434, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFCJWYYR5NQ426455ALGC3RIKW6XANCNFSM4J3HVBRA.

zhenzhenyang-psu avatar Mar 20 '20 01:03 zhenzhenyang-psu