cschin / Peregrine

Peregrine: Fast Genome Assembler Using SHIMMER Index
Other
101 stars 9 forks source link

python2.7: command not found #26

Open zhenzhenyang-psu opened 4 years ago

zhenzhenyang-psu commented 4 years ago

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

cschin commented 4 years ago

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.

zhenzhenyang-psu commented 4 years ago

great! I will try it!

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


From: Jason Chin notifications@github.com Sent: Friday, March 20, 2020 8:01:47 AM To: cschin/Peregrine Peregrine@noreply.github.com Cc: zhenzhenyang-psu yangzhenzhen1988@gmail.com; Author author@noreply.github.com 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.