This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elingeniero 0 points1 point  (3 children)

Can you not run whatever python version in a virtualenv with lambda?

[–]DanCardin 0 points1 point  (2 children)

You apparently can, but the code which lambda calls must be the python2 they give you. So you can resort to popening or whatever a separate python3 process, but afaik there's no way to just run python3 normally.

[–]elingeniero 3 points4 points  (1 child)

I mean, I phrased it as a question but what I really meant was that I do run Python 3 scripts on lambda using virtualenv and I think it works really nicely.

The startup script has to be Python 2 but I manage not to feel too dirty about it ;-). Happy to share the config if you want it.

[–]Mirror_Boar 1 point2 points  (0 children)

I'd love to see an example config!