【发布时间】:2019-06-02 21:57:52
【问题描述】:
我可以在本地机器上使用以下行加载我的 txt 文件。
lines=open(args['train_file1'],mode='r').read().split('\n')
args 是具有训练文件目录的dict。
现在我将工作 python 版本更改为 3.5,现在我收到此错误。我不知道为什么会出现这个错误,该文件存在于该目录中。
FileNotFoundError: [Errno 2] No such file or directory: 'gs://bot_chat-227711/data/movie_lines.txt'
【问题讨论】:
标签: python-3.x google-app-engine