-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Broken SAM CLI v1.134.0 on MacOS Intel CPU #7898
Comments
Hello @dmitrikozlov , Thank you for bringing this to our attention. The issue you're experiencing appears to be system-specific. To troubleshoot, could you please try the following steps: Install version 1.132.0 of the AWS SAM CLI from this link: https://github.com/aws/aws-sam-cli/releases/tag/v1.132.0 If the problem continues, we recommend creating a virtual environment (venv) and installing the SAM CLI using pip. You can find the package here: https://pypi.org/project/aws-sam-cli/ Alternatively, updating your MacOS to the latest version might resolve the issue. Please try these steps and let us know the results. We're here to help if you need further assistance. |
Hello @vicheey, I tried to install version 1.132.0 from the pkg file. The result was the same:
I tried installing SAM with pip earlier, but that didn't work as described in the ticket. So I ran pip to install version 1.132.0, and that worked! |
Unfortunately, MacOS Monterey is not officially supported anymore (last official patch from Apple was over 7 months ago), so many of SAM CLI dependencies started dropping support for it too. It's good that installing 1.132.0 through pip worked though. You can continue using that version until you upgrade your version of MacOS. I don't have access to an environment with that version of MacOS, but I wonder if the latest version of SAM CLI can work in an older version of Python (like, installing SAM CLI 1.134.0 in Python 3.9 instead of 3.11). You might want to try that if you ever need one of the features in newer versions of SAM CLI before upgrading your OS. I'm resolving this issue. |
|
Description:
Running the GUI installer (aws-sam-cli-macos-x86_64.pkg) for SAM as described here leads to a broken state where the SAM CLI cannot be called at all.
Steps to reproduce:
Observed result:
Expected result:
Alternative steps
python -m venv env; source env/bin/activate
pip install aws-sam-cli
>sam --version
... Symbol not found: (_mkfifoat)
Additional environment details
The text was updated successfully, but these errors were encountered: