我写了以下script.py:
# -*- coding: utf-8 -*-
from Bio.PDB import *
p = PDBParser()
structure = p.get_structure("3l40", "C:\\Users\\*\\3l40.pdb")
dssp = DSSP(structure[0], "C:\\Users\\*\\3l40.pdb")
运行它,我遇到了一个问题:
File "C:\Users\*\Anaconda3\lib\subprocess.py", line 1224, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
startupinfo)
我想检查哪个文件触发了错误,所以我使用了pdb debbuger:
python.exe -i script.py
>>> import pdb
>>> pdb.pm()
> c:\users\*\anaconda3\lib\subprocess.py(1224)_execute_child()
-> startupinfo)
如何解决问题?
Python版本3.5.2,Windows 10