hhvm / packaging

The sources for how we have built the HHVM packages.
MIT License
64 stars 63 forks source link

Provide more detailed installation/test/deploy instructions for python lambdas #236

Closed fredemmott closed 4 years ago

fredemmott commented 4 years ago

ModuleNotFoundError: No module named 'boto3'

jjergus commented 4 years ago

There are some instructions here: https://github.com/hhvm/packaging/tree/master/aws/hhvm1#lambda-functions

I'll add something about dependencies there. Anything else missing?

jjergus commented 4 years ago

https://github.com/hhvm/packaging/commit/69063ceb0b4be6407a6df825f80dc5fb4fbb27c0

fredemmott commented 4 years ago

Heh, FB managed macs appear to be very unfriendly to this:

% pip
zsh: /opt/homebrew/bin/pip: bad interpreter: /opt/homebrew/opt/python35/bin/python3.5: no such file or directory

... and FB claims ownership of /usr/local/bin so brew link fails. Will dig in later.

jjergus commented 4 years ago

If you're doing a simple change that doesn't need testing (like the one today), you can also ignore the failure, the deploy.sh script should ask you if you want to do that.

fredemmott commented 4 years ago

Sorry, yep, I saw error and ^C'd without reading the last line D: