Can’t brew install aws-sam-cli-nightly on MacOS Monterey 12.3
See original GitHub issueDescription:
Getting a build failure when trying to brew install aws-sam-cli-nightly on MacOS Monterey 12.3.
aws-sam-cli installed without a problem.
cf. #3548
Steps to reproduce:
brew install aws-sam-cli-nightly
Observed result:
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
==> Downloading https://api.github.com/repos/aws/aws-sam-cli/tarball/v1.41.0.dev202203220101
Already downloaded: /Users/danorton/Library/Caches/Homebrew/downloads/cb86497c41df49e5e03e306a1afb4a1349cf9be9904dcc8dae01a85c527bed46--aws-aws-sam-cli-v1.41.0.dev202203220101-0-g2928179.tar.gz
==> Installing aws-sam-cli-nightly from aws/tap
==> python3.8 -m venv --system-site-packages /opt/homebrew/Cellar/aws-sam-cli-nightly/202203220101/libexec
==> /opt/homebrew/Cellar/aws-sam-cli-nightly/202203220101/libexec/bin/pip install --upgrade pip
==> /opt/homebrew/Cellar/aws-sam-cli-nightly/202203220101/libexec/bin/pip install -v --pre --ignore-installed /priva
Last 15 lines from /Users/danorton/Library/Logs/Homebrew/aws-sam-cli-nightly/03.pip:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/homebrew/Cellar/aws-sam-cli-nightly/202203220101/libexec/bin/python3.8 /opt/homebrew/Cellar/aws-sam-cli-nightly/202203220101/libexec/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmp8v_zw3lx
cwd: /private/tmp/pip-install-_w2h7fhh/pyyaml_4800881c749c4cb08756a2f350e5ca42
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/aws/homebrew-tap/issues
Expected result:
Successful installation
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: MacOS
sam --version
: N/A- AWS region: us-west
Add --debug flag to command you are running
% sw_vers && uname -a && pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
ProductName: macOS
ProductVersion: 12.3
BuildVersion: 21E230
Darwin Daniels-MacBook-Air.local 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 arm64
package-id: com.apple.pkg.CLTools_Executables
version: 13.3.0.0.1.1645755326
volume: /
location: /
install-time: 1648827117
groups: com.apple.FindSystemFiles.pkg-group
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
The Missing Package Manager for macOS (or Linux ...
Homebrew won't install files outside its prefix and you can place a Homebrew installation wherever you like. Trivially create your own Homebrew packages....
Read more >If an error occurred while updating or installing macOS
Make sure that your Mac has a working and stable internet connection. Install in safe mode. Install while your Mac is started up...
Read more >What to do if your Ventura update is stuck - Macworld
Can't update your Mac? Here's what to do if your Mac appears to freeze while you are downloading or installing macOS Ventura or...
Read more >macOS Monterey 12.3.1 Update - What's New? - YouTube
Apple just released the macOS Monterey 12.3.1 Update! In this video I will go over all the new features & changes + bug...
Read more >These Are the Top Features in MacOS Monterey - WIRED
Universal Control is now available in the latest update. Here's how to install the newest version of Apple's desktop operating system to use ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for reporting the issue, we will be investigating it further. Please watch this channel for more updates, and feel free to reach out.
Faced exactly the same issue, same error, same OS version.