Posted in Devops, Software Architecture, Software Engineering

AWS Lamba Cheat Sheet

Preparing Deployment Packages


To add extra Python modules into the package use “-t ” to install them into the package

pip install <module name> -t <package path>
pip3 install <module name> -t <package path>

On current Debian/Ubuntu you might get a

DistutilsOptionError: can't combine user with prefix, exec_prefix/home, or install_(plat)base

in this case add a “–system” switch to your call, e.g.

pip install <module name> --system -t <package path>


Import is possible in the code editor (File menu). Export is possible via the global “Actions” menu.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s