Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: cdk fails on Ubuntu release or any release which dont link python3.10|python3 to 'python' for retrocompatibility with python2 #133

Open
bgauchon-reply opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bgauchon-reply
Copy link
Contributor

cdk bootstrap 471112529002/eu-west-3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!                                                                            !!
!!  Node 14 has reached end-of-life on 2023-04-30 and is not supported.       !!
!!  Please upgrade to a supported node version as soon as possible.           !!
!!                                                                            !!
!!  This software is currently running on node v14.21.3.                      !!
!!  As of the current release of this software, supported node releases are:  !!
!!  - ^22.0.0 (Planned end-of-life: 2027-04-30)                               !!
!!  - ^20.0.0 (Planned end-of-life: 2026-04-30)                               !!
!!  - ^18.0.0 (Planned end-of-life: 2025-04-30)                               !!
!!                                                                            !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/bin/sh: 1: python: not found

Subprocess exited with error 127
root@DATFR-7NDSPG3:~/sustainable-personal-accounts# py[tab]
py3clean       py3compile     py3versions    pydoc3         pydoc3.10      pygettext3     pygettext3.10  python3        python3.10

root@DATFR-7NDSPG3:~/sustainable-personal-accounts# ls -ailh $(which python3)
1708 lrwxrwxrwx 1 root root 10 Aug 18  2022 /usr/bin/python3 -> python3.10

root@DATFR-7NDSPG3:~/sustainable-personal-accounts# which python3.10
/usr/bin/python3.10

TMP manual fix:

ln -sf /usr/bin/python3 /usr/bin/python
@bgauchon-reply bgauchon-reply added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants