Skip to content Skip to sidebar Skip to footer

Aws Lambda Python Lots Of "could Not Create '/var/task/__pycache__/filenamepyc'" Messages

In the configuration for my Pyhon 3.6 AWS Lambda function I set the environment variable 'PYTHONVERBOSE' with a setting of 1 Then in the Cloudwatch logs for my function it shows lo

Solution 1:

I don't think you can write in the /var/task/ folder. If you want to write something to disk inside of the lambda runtime try the /tmp folder.


Post a Comment for "Aws Lambda Python Lots Of "could Not Create '/var/task/__pycache__/filenamepyc'" Messages"