. Advertisement .
..3..
. Advertisement .
..4..
The error
Unzipped size must be smaller than 262144000 bytes
occurred when I deploy the ResumeParser library made in the python 2.7 and the library on the AWS for my project. I’ve tried to fix it for some days but have not resolved it yet. Can someone suggest a relevant solution to fix the ”unzipped size must be smaller than 262144000 bytes” issue? Much appreciate your support.
The cause:
After looking over your problem, I realized that the development packages of your files exceeded the permitted limits. This is the cause why you have got ”unzipped size must be smaller than 262144000 bytes” warning.
Solution:
You need to make your package smaller by decreasing the size of it. If your binaries are big, let’s put them in s3 and download them from bootstrap. Similar with dependencies, you can either
easy_install
orpip install
them from a place of s3. It is much more quicklier than pulling from pip repositories.Maybe you didn’t include development packages that allowed your file to grow so large.
In my case (for NodeJS), I had missed the following in my
serverless.yml
:Check if there are any similar cases for Python or your particular case.