小编sal*_*e97的帖子

令人困惑的问题 >> FileNotFoundError: [Errno 2] 没有这样的文件或目录:

这个问题让我很困惑。可能问题出在代码上,希望你看看

        with open(training_images_labels_path,'r') as file:
            lines = file.readlines()
Run Code Online (Sandbox Code Playgroud)

他说文件不存在

FileNotFoundError: [Errno 2] No such file or directory: '\\Desktop\\project\\data\\generated\\training_images_labels.txt'
Run Code Online (Sandbox Code Playgroud)

虽然文件存在

我需要解决方案

python

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

python ×1