我需要在Google Cloud functions的/tmp文件夹中创建两个文件夹。我正在使用一个库,它要求文件采用这种格式(它们不可能都是/tmp格式的)。我尝试了这个- os.makedirs('tmp/test'),但它给出了以下错误: Function failed on loading user code.bootstrap>", line 219, in _call_with_frames_removed
F
我尝试使用open,但它给出了文件夹不存在的错误,这没有任何意义,因为这是一个创建文件夹的命令,而不是读取文件夹。我看到了Automatically creating directories with file output,但有一个错误,说这是一个Errno 30: Read only system: "/folder有谁知道如何避免错误30吗?到目前为止我的代码如下: import os
fi