尝试打开PDB文件时,Python程序错误5访问被拒绝

时间:2017-04-02 15:53:23

标签: python pycharm pdb

我正在使用Bio.PDB的dssp类。 我正在使用pycharm和python 2.7.13解释器。 此命令产生错误:

p = subprocess.Popen([DSSP, in_file], universal_newlines=True,
                     stdout=subprocess.PIPE, stderr=subprocess.PIPE)

回溯:

Traceback (most recent call last):
  File "C:/Users/Efrat/PycharmProjects/try/try.py", line 5, in 
    dssp=DSSP(structure[0],dssp=r"C:\Users\Efrat\Desktop\mini\tmp",file_type='pdb')
  File "C:\Users\Efrat\Anaconda2\envs\epython\lib\site-packages\Bio\PDB\DSSP.py", line 319, in __init__
    dssp_dict, dssp_keys = dssp_dict_from_pdb_file(in_file, dssp)
  File "C:\Users\Efrat\Anaconda2\envs\epython\lib\site-packages\Bio\PDB\DSSP.py", line 133, in dssp_dict_from_pdb_file
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "C:\Users\Efrat\Anaconda2\envs\epython\lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "C:\Users\Efrat\Anaconda2\envs\epython\lib\subprocess.py", line 640, in _execute_child
    startupinfo)
WindowsError: [Error 5] Access is denied

我该怎么办?

0 个答案:

没有答案