Nov-23-2018, 09:47 PM
Well, I obtain a lot of errors this way:
Traceback (most recent call last):
File "prueba2.py", line 17, in <module>
f_out.writelines(output_lines(f_in))
File "prueba2.py", line 12, in output_lines
'-otxt', '--append', 'TPSA'])
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/obabel '
Traceback (most recent call last):
File "prueba2.py", line 17, in <module>
f_out.writelines(output_lines(f_in))
File "prueba2.py", line 12, in output_lines
'-otxt', '--append', 'TPSA'])
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/obabel '