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 Node.js projects or requirements.txt for Python ones.
In the terminal, go into the sam-app/hello_world
folder and install the dependencies:
cd ~/environment/sam-app/hello_world
pip3 install -r requirements.txt
Example: