vpc-ccg / haslr

A fast tool for hybrid genome assembly of long and short reads
GNU General Public License v3.0
74 stars 9 forks source link

AttributeError: 'module' object has no attribute 'run' #31

Open mictadlo opened 2 years ago

mictadlo commented 2 years ago

Hi,

git clone https://github.com/vpc-ccg/haslr.git
cd haslr
make
export PATH=/work/team/apps/haslr/bin/:$PATH

checking /work/team/apps/haslr/bin/haslr_assemble: Traceback (most recent call last):
  File "/work/team/apps/haslr/bin/haslr.py", line 381, in <module>
    main()
  File "/work/team/apps/haslr/bin/haslr.py", line 25, in main
    check_program(path_haslr_assemble)
  File "/work/team/apps/haslr/bin/haslr.py", line 271, in check_program
    completed = subprocess.run([prog, '-h'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
AttributeError: 'module' object has no attribute 'run'

What did I miss?

Kirstie-dev commented 1 year ago

check: python --version You need python3