Why is the AWS SAM CLI ignoring my Python dependencies during build, package, and deploy?

Asked 2 years ago

How can I ensure that the SAM CLI downloads and packages my Python dependencies, along with my source code?

Ellis Callahan

Wednesday, July 27, 2022

If you are using the AWS SAM CLI to build, package, and deploy your Python application, and your application has dependencies that are not included in the AWS SAM CLI standard library, you will need to include those dependencies in your source code directory. The AWS SAM CLI will not automatically download and package third-party dependencies for you.

Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?