python best way to handle version issues / install failures / lambda library failures

Ayush Singh
Mar 14, 2023

--

Use pyenv

  1. brew install pyenv
  2. follow steps accordingly :-
    pyenv versions
    pyenv install -v 3.8.9
    pyenv shell 3.8.9
  3. follow steps whatever come in middle

During install failures :-
Whenever warning comes for pip upgrade along with install failures, do pip upgrade first and try again

Lambda Library Failures :-

Some pip packages are os specific and may not actually run in lambda as in your local
Solution :- https://blog.ascendingdc.com/aws-lambda-runtime-compatibility-issue-on-native-library

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ayush Singh
Ayush Singh

No responses yet

Write a response