Open skhelishalnev opened 3 weeks ago
This seems did the trick
os.environ["HOME"] = "/tmp/sbx_user1051"
But not sure if its a good solution...
Hello! Thank you for the report.
This is strage, install path should be /home/sbx_user1051/.awscliv2
.
Could you try creating this directory manually: mkdir /home/sbx_user1051/.awscliv2
.
If it does not work - then try changing permissions for the current user chown -hvR sbx_user1051 /home/sbx_user1051
Let me know if this helps.
Describe the bug Hello dear awscliv2 team!
I'm trying to use your wrapper as a python module for python lambda function (runtime version 3.12) packaged as lambda layer. However when I try to install the binaries I'm getting the
awscliv2.exceptions.InstallError: Installation failed: mkdir: cannot create directory '/home/sbx_user1051': Read-only file system
. I understand that lambda runtime environment is read-only, just thought maybe theres a known workaround. I would really appreciate any help with this.To Reproduce Steps to reproduce the behavior:
install_multiplatform
Expected behavior
Additional context AWS Lambda python runtime 3.12 (x86_64)