0

When I deploy a small python app to aws lambda which depends on pyhanlp to the aws labmda by zappa, I got following error

[ERROR] OSError: [Errno 30] Read only file system: '/var/task/pyhanlp/static/__init__.py/', line 61, in remove_filenlp_jarLP_DATA_PATH

Do I have a way to tell the aws lambda to allow the pyhanlp to install the package not in the tmp?

Edit : I check the post on stackoverflow, that can't solve the issue, because pyhanlp(a 3rd party lib) depends on the install path, if I change to tmp, many things will need to be changed too, not realistic

StereoMatching
  • 4,971
  • 6
  • 38
  • 70

0 Answers0