Closed cyrfer closed 4 years ago
that's odd -- the benefit of brew is that it shall not affect your system, so AFAIK you could install awscurl and
It definitely did affect my system. Perhaps you can relax the requirements to use whatever the system has?
it's needs to have a dependency on python or for systems that do not have it nothing would be installed (making that "dynamic" is more than I can master in brew formula creation magic and I think would create more support issues).
that being said here capture from "my system", different system python and running awscurl
/usr/bin/python Python 2.7.16
/usr/local/bin/python3 Python 3.7.7
/usr/local/bin/awscurl usage: awscurl [-h] [-v] [-i] [-X REQUEST] [-d DATA] [-H HEADER] [-k] [--data-binary] [--region REGION] [--profile PROFILE] [--service SERVICE] [--access_key ACCESS_KEY] [--secret_key SECRET_KEY] [--security_token SECURITY_TOKEN] [--session_token SESSION_TOKEN] uri awscurl: error: the following arguments are required: uri
wild guess maybe openssl is hardlinked on your system (guessing based on): https://stackoverflow.com/questions/59269208/errorrootcode-for-hash-md5-was-not-found-when-using-any-hg-mercurial-command
Ok this might be a false alarm. After restarting my mac laptop, I was able to resume using the aws
CLI.
Also, it seems pip
is the only thing I've noticed that is broken at the moment.
pip3
works.
$ which pip
/usr/local/bin/pip
$ which pip3 && pip3 --version
/usr/local/opt/python@3.8/bin/pip3
pip 20.0.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
$ which python && python --version
/usr/local/bin/python
Python 2.7.16
$ which python3 && python3 --version
/usr/local/opt/python@3.8/bin/python3
Python 3.8.2
$ which awscurl && awscurl -v
/usr/local/bin/awscurl
usage: awscurl [-h] [-v] [-i] [-X REQUEST] [-d DATA] [-H HEADER] [-k] [--data-binary] [--region REGION] [--profile PROFILE] [--service SERVICE]
[--access_key ACCESS_KEY] [--secret_key SECRET_KEY] [--security_token SECURITY_TOKEN] [--session_token SESSION_TOKEN]
uri
awscurl: error: the following arguments are required: uri
Wow, great find @okigan !
pip
is completely fixed now too.
$ ls /usr/local/Cellar/openssl
1.0.2r
$ brew switch openssl 1.0.2r
Cleaning /usr/local/Cellar/openssl/1.0.2r
Opt link created for /usr/local/Cellar/openssl/1.0.2r
$ pip --version
pip 19.0.3 from /usr/local/lib/python2.7/site-packages/pip (python 2.7)
@cyrfer Cool -- closing this issue 🤞
Title says it all.
I think awscurl required a different version of python than I had on my system.
After running
brew install awscurl
, I saw:Now when I run simple tests with the AWS CLI, I see:
UPDATE: apparently its not just the
aws
CLI. It's other things...