Skip to content

Instantly share code, notes, and snippets.

@JasonTam
Last active May 15, 2019 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonTam/121548d8827720c4289b93126ecff1cf to your computer and use it in GitHub Desktop.
Save JasonTam/121548d8827720c4289b93126ecff1cf to your computer and use it in GitHub Desktop.
zappa pipenv
pipenv --python 3.6
pipenv install
zappa init
zappa deploy
#zappa update
# fucking lambda has an old libstdc++ I think, so compile any cpython stuff with GCC/G++-5
https://archerfmy.github.io/2017/04/12/How-to-switch-your-gcc-g-version-in-ubuntu/
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment