Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am jsterling8 on github.
* I am jsterling8 (https://keybase.io/jsterling8) on keybase.
* I have a public key ASCQvA1HnXdR-bmfRtCn48nJwpartC852VuaMaPZA-8J5Qo
To claim this, I am signing this object:
@JSterling8
JSterling8 / install_python_364_amazon_linux.sh
Last active August 30, 2018 10:39 — forked from niranjv/install_python_36_amazon_linux.sh
Install Python 3.6.4 in Amazon Linux
# A virtualenv running Python3.6.4 on Amazon Linux/EC2 (approximately) simulates the Python 3.6.4 Docker container used by Lambda
# and can be used for developing/testing Python 3.6.4 Lambda functions
# This script installs Python 3.6.4 on an EC2 instance running Amazon Linux and creates a virtualenv running this version of Python
# This is required because Amazon Linux does not come with Python 3.6.4 pre-installed
# and several packages available in Amazon Linux are not available in the Lambda Python 3.6.4 runtime
# The script has been tested successfully on a t2.micro EC2 instance (Root device type: ebs; Virtualization type: hvm)
# running Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type - ami-c58c1dd3
# and was developed with the help of AWS Support