Install dependencies

Before we run the application locally, it’s a common practice to install third-party libraries or dependencies that your application might be using. These dependencies are defined in a file that varies depending on the runtime, for example package.json for NodeJS projects or requirements.txt for Python ones.

In the terminal, go into the sam-app/hello_world folder.

cd sam-app/hello_world

And install the dependencies:

sudo pip install --upgrade -r requirements.txt