Eb deploy error


#1

When running eb deploy, I get the following error in the console
Traceback (most recent call last):
File “/usr/local/bin/eb”, line 5, in
from pkg_resources import load_entry_point
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3037, in
@_call_aside
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3021, in _call_aside
f(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3050, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 657, in _build_master
return cls._build_from_requirements(requires)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 670, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 855, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘six>=1.9.0’ distribution was not found and is required by blessed

Any ideas how to fix this error?
(I’ve tried to manually pip install six [through dependencies pre in circle.yaml)


#2

i needed the upgrade six using pre in circle.yml from this post – https://gist.github.com/RobertoSchneiders/9e0e73e836a80d53a21e

pre:
- sudo apt-get install python-dev
- sudo easy_install --upgrade six
- sudo pip install awsebcli

the missing commands for ubuntu 14 was upgrade python-dev and easy_install --upgrade six


#3