0

I am using AWS sam cli to develop python application locally first. I have used sam build command to install python packages mentioned in requirements.txt. Build folder is created with the dependency package folders, But in the code, the import statements are showing could not import the package. Though it is present in the same folder as of my code.

Kerolos William
  • 435
  • 2
  • 12
user9040429
  • 690
  • 1
  • 8
  • 29

1 Answers1

1

The Error message is show cause the imported package aren't installed as a python package since SAM CLI install the packages inside the project path so it can be packaged as layers and deployed in to AWS Lambda Layers

Kerolos William
  • 435
  • 2
  • 12