当我尝试使用Eclipse的PyDev运行python项目时,出现错误消息:
File "Bob.py", line 35, in <module>
with open('ConfigUser\project_config.yml', 'r') as stream_project_config:
FileNotFoundError: [Errno 2] No such file or directory: 'ConfigUser\\project_config.yml'
尝试访问文件的代码:
with open('ConfigUser\project_config.yml', 'r') as stream_project_config:
project_config_read = yaml.load(stream_project_config)
build_variants = project_config_read[1]
build_instrumentations = project_config_read[4]
有什么想法吗?