I ran into the following issue when I tried to install awsebcli on my Ubuntu:
The reason it could not install the awsebcli the pip was not properly set on my bash. I was adding the pip to the path variable but it was not correct. It was like below:
beroza@:~$ pip install awsebcli --upgrade --user Requirement already up-to-date: awsebcli in ./.local/lib/python2.7/site-packages (3.12.4) Requirement not upgraded as not directly required: pyyaml>=3.11 in ./.local/lib/python2.7/site-packages (from awsebcli) (3.12) Requirement not upgraded as not directly required: botocore>=1.0.1 in ./.local/lib/python2.7/site-packages (from awsebcli) (1.10.16) Requirement not upgraded as not directly required: cement==2.8.2 in ./.local/lib/python2.7/site-packages (from awsebcli) (2.8.2) Requirement not upgraded as not directly required: colorama==0.3.7 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.3.7) Requirement not upgraded as not directly required: pathspec==0.5.5 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.5.5) Requirement not upgraded as not directly required: setuptools>=20.0 in ./.local/lib/python2.7/site-packages (from awsebcli) (39.1.0) Requirement not upgraded as not directly required: docopt<0.7,>=0.6.1 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.6.2) Requirement not upgraded as not directly required: requests<=2.9.1,>=2.6.1 in ./.local/lib/python2.7/site-packages (from awsebcli) (2.9.1) Requirement not upgraded as not directly required: websocket-client<1.0,>=0.11.0 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.47.0) Requirement not upgraded as not directly required: dockerpty<=0.4.1,>=0.3.2 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.4.1) Requirement not upgraded as not directly required: semantic_version==2.5.0 in ./.local/lib/python2.7/site-packages (from awsebcli) (2.5.0) Requirement not upgraded as not directly required: tabulate==0.7.5 in ./.local/lib/python2.7/site-packages (from awsebcli) (0.7.5) Requirement not upgraded as not directly required: termcolor==1.1.0 in ./.local/lib/python2.7/site-packages (from awsebcli) (1.1.0) Requirement not upgraded as not directly required: blessed>=1.9.5 in ./.local/lib/python2.7/site-packages (from awsebcli) (1.14.2) Requirement not upgraded as not directly required: jmespath<1.0.0,>=0.7.1 in ./.local/lib/python2.7/site-packages (from botocore>=1.0.1->awsebcli) (0.9.3) Requirement not upgraded as not directly required: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in ./.local/lib/python2.7/site-packages (from botocore>=1.0.1->awsebcli) (2.7.2) Requirement not upgraded as not directly required: docutils>=0.10 in ./.local/lib/python2.7/site-packages (from botocore>=1.0.1->awsebcli) (0.14) Requirement not upgraded as not directly required: six in ./.local/lib/python2.7/site-packages (from websocket-client<1.0,>=0.11.0->awsebcli) (1.11.0) Requirement not upgraded as not directly required: wcwidth>=0.1.4 in ./.local/lib/python2.7/site-packages (from blessed>=1.9.5->awsebcli) (0.1.7)
The reason it could not install the awsebcli the pip was not properly set on my bash. I was adding the pip to the path variable but it was not correct. It was like below:
LOCAL_PATH=~/.local/bin export PATH=LOCAL_PATH:$PATH
Solution
The variable LOCAl_PATH was missing a $ sign. So the solution is:LOCAL_PATH=~/.local/bin export PATH=$LOCAL_PATH:$PATH
Comments
Post a Comment