2

I maintain a project which developed by python2.7

Now, I want to distribute the project using codecommit, codebuild and cloudformation services.

I run a demo which is using python3.8 runtime environment perfectly,

but if I change the environment to python2.7,

it can't run correctly.

So, I want to know is that does aws codebuild still support python2.7 yet?

1 Answer 1

4

It does not support 2.7. The supported runtimes are listed here. For python, you only have 3.7, 3.8 and 3.9.

You can "manually" install python 2.7 in any linux CodeBuild image and use it in your build project. Or you can create a custom image.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.