[Solved]-Deploy to AWS EB failing because of YAML error in python.config


Seems like MAC creates this hidden folder automatically. I was also having this issue.

I’ve used the following command on terminal:

zip -d filename.zip __MACOSX/\*

found here:
Mac zip compress without __MACOSX folder?


I had a same problem. I try to do remove the __MACOSX/ in zip file. but there were other problem came up.

AWS doc suggest that Creating a source bundle from command line:

zip -d filename.zip __MACOSX/\*

Leave a comment