Open zabaat opened 2 years ago
- Installing EBCLI
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting awsebcli
note the line:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020
try python3 ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py
@DSMTurboAWD thank you thank you thank you thank you thank you ❤️
I was at wits end on this :( so simple
EDIT: not sure if I need to close or I see a task was made on it if you use this to update the docs?
So this does not work for me. Using python3 the installation will complete but since the eb-cli is build on python2 I'm right back where I started:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/eb", line 6, in <module>
from pkg_resources import load_entry_point
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
@_call_aside
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'botocore<1.24.0,>1.23.41' distribution was not found and is required by awsebcli
This actually worked for me. I had searched for a solution for 3 hours on end!
1. Please specify the following:
I have followed the steps in the readme and also looked through the open/closed issues.
2. Description I'm just trying to install, I got the AWS cli installed just fine
and virtualenv via pipx
but when I simply clone the repo and run the install script I always get this
I've tried installing the specific version but it then breaks the awscli
help 🙀 plz