首页 > 其他分享 >1

1

时间:2023-04-02 21:23:34浏览次数:31  
标签: exec python py execfile line pydev

Traceback (most recent call last):
  File "/home/mmsys/pycharm-community-2022.1.3/plugins/python-ce/helpers/pydev/pydevd.py", line 1491, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/mmsys/pycharm-community-2022.1.3/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/media/mmsys/6f1091c9-4ed8-4a10-a03d-2acef144d2e1/SXY/LPDM-main/main.py", line 429, in <module>
    parser = Trainer.add_argparse_args(parser)
AttributeError: type object 'Trainer' has no attribute 'add_argparse_args'
python-BaseException

 

标签:,exec,python,py,execfile,line,pydev
From: https://www.cnblogs.com/yyhappy/p/17281383.html

相关文章