Installation for aws-adfs fails
See original GitHub issueHi Team,
I have tried installing aws-adfs on my machine but was failing with below error,
Can you please let me know what am I missing here while installation?
Configuration Using MacOS Mojave - 10.14.6 (18G87) Python 2.7.10
~ cpandit$ sudo pip install aws-adfs
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/Users/cpandit/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/Users/cpandit/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting aws-adfs
Downloading https://files.pythonhosted.org/packages/7d/9c/50a7a160d4e3f756a22b5675e029c18527e3b1c4966017fff906b1c5defa/aws-adfs-1.20.0.tar.gz (52kB)
|ββββββββββββββββββββββββββββββββ| 61kB 436kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-o50i6z/aws-adfs/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-o50i6z/aws-adfs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-install-o50i6z/aws-adfs/pip-egg-info
cwd: /private/tmp/pip-install-o50i6z/aws-adfs/
Complete output (3 lines):
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
error in aws-adfs setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in lxml<4.4.0;python_version<"3.5" at ;python_version<"3.5"
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Have added $HOME/.local/bin to my path, Below is my $PATH variable
3inmcpandit1:~ cpandit$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/cpandit/Library/Android/sdk/emulator:/Users/cpandit/Library/Android/sdk/tools:/Users/cpandit/Library/Android/sdk/tools/bin:/Users/cpandit/Library/Android/sdk/platform-tools:/Users/cpandit/.local/bin
Can you please help me out in what am I missing while installation? Any other dependencies / libraries while I need to install before this?
Any help would be appreciated. Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Troubleshooting AWS CLI errors - AWS Command Line Interface
Command not found errors ... This error means that the operating system can't find the AWS CLI command. The installation might be incomplete...
Read more >After installing pyenv, my aws-adfs got 'ModuleNotFoundError'
So I have install pyenv in order to work with different versions of Python. Pyenv installation was successful and I was able to...
Read more >ADFS Integration AWS: Explained with Setup - Bobcares
During the testing and ADFS integration AWS process, we might have to stop at an error box. It turns out that this is...
Read more >aws-adfs with duo - YouTube
AWS Cli authenticator via ADFS small command-line tool to authenticate ... VIP MFA provider RSA SecurID MFA provider pip install aws - adfs...
Read more >AWS::FederatedLoginADFS
Use AD users to access AWS using ADFS and SAML Β· Windows: Create AD groups and users Β· Windows: Install ADFS and create...
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 FreeTop 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
Top GitHub Comments
Iβm not sure whatβs the issue with python 2.7.10. On travis and empty environment the application is installed without any issue. I thought that it could be related with unintentional usage of pip3 instead of pip2 because of wrong linking.
Fortunately installation with python3 works π
Thanks for the input though