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

SAM CLI installation broken due to python version inconsistency #93

Closed
mmajis opened this issue Jul 8, 2020 · 2 comments
Closed

SAM CLI installation broken due to python version inconsistency #93

mmajis opened this issue Jul 8, 2020 · 2 comments

Comments

@mmajis
Copy link

mmajis commented Jul 8, 2020

Looks like brew install aws-sam-cli resolves the python dependency to python@3.8 but the bottled 0.53.0 comes with python3.7 executables.

This leads to the following error when trying to run sam: dyld: Library not loaded: @executable_path/../.Python

Maybe update the following line for python@3.7 or make a new bottle with python 3.8?

depends_on "python"

A workaround is to brew install --build-from-source aws-sam-cli.

@mmajis mmajis changed the title Installation broken due to python version inconsistency SAM CLI installation broken due to python version inconsistency Jul 8, 2020
@jfuss
Copy link
Contributor

jfuss commented Jul 9, 2020

We updated the formula and generated new bottles. This should not happen anymore. Please reopen if it does.

@sque
Copy link

sque commented Oct 8, 2020

The problem still persists. I had to build from sources. Thanks for the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants