---
title: "Comment by likhit gatagat on \"Solution for error: No module named 'PIL or AWS Lambda Python PIL cannot import name ‘_imaging’”\nCreating a custom layer for lambda function for PIL\" | Hashnode"
description: "Thanks a lot Ram!!"
url: "https://hashnode.com/posts/solution-for-error-no-module-named-pil-or-aws-lambda-python-pil-cannot-import-name-imaging-creating-a-custom-layer-for-lambda-function-for-pil/64399351f54b11c44d816532/comment/643ba3e1f44a03c1512ae09e"
---

[Discussion](https://hashnode.com/posts/solution-for-error-no-module-named-pil-or-aws-lambda-python-pil-cannot-import-name-imaging-creating-a-custom-layer-for-lambda-function-for-pil/64399351f54b11c44d816532)

Comment [Solution for error: No module named 'PIL or AWS Lambda Python PIL cannot import name ‘\_imaging’” Creating a custom layer for lambda function for PIL](https://hashnode.com/posts/solution-for-error-no-module-named-pil-or-aws-lambda-python-pil-cannot-import-name-imaging-creating-a-custom-layer-for-lambda-function-for-pil/64399351f54b11c44d816532)

[likhit gatagat](https://hashnode.com/@likhitgatagat)

[Apr 16, 2023](https://hashnode.com/posts/solution-for-error-no-module-named-pil-or-aws-lambda-python-pil-cannot-import-name-imaging-creating-a-custom-layer-for-lambda-function-for-pil/64399351f54b11c44d816532/comment/643ba3e1f44a03c1512ae09e)

Thanks a lot Ram!!
