AWSCLI error

0 votes
I installed awscli using proper steps.

Here are the installation details of the following:

millisami at millisami in ~/Code/face_tester on design ✹
± which python                                                                            
/usr/local/bin/python
millisami at millisami in ~/Code/face_tester on design ✹
± python --version                                                                        
Python 2.7.3
millisami at millisami in ~/Code/face_tester on design ✹
± pip install awscli --upgrade                                                            
Requirement already up-to-date: awscli in /usr/local/lib/python2.7/site-packages
Requirement already up-to-date: botocore>=0.4.0 in /usr/local/lib/python2.7/site-packages/botocore-0.4.1-py2.7.egg (from awscli)
Requirement already up-to-date: six>=1.1.0 in /usr/local/lib/python2.7/site-packages/six-1.2.0-py2.7.egg (from awscli)
Requirement already up-to-date: argparse>=1.1 in /usr/local/lib/python2.7/site-packages/argparse-1.2.1-py2.7.egg (from awscli)
Requirement already up-to-date: requests>=0.12.1,<1.0.0 in /usr/local/lib/python2.7/site-packages/requests-0.14.2-py2.7.egg (from botocore>=0.4.0->awscli)
Requirement already up-to-date: python-dateutil>=2.1 in /usr/local/lib/python2.7/site-packages/python_dateutil-2.1-py2.7.egg (from botocore>=0.4.0->awscli)
Cleaning up...
millisami at millisami in ~/Code/face_tester on design ✹
± aws help                                                                                                                      
Traceback (most recent call last):
  File "/usr/local/share/python/aws", line 15, in <module>
    import awscli.clidriver
  File "/usr/local/lib/python2.7/site-packages/awscli/__init__.py", line 18, in <module>
    import botocore.base
ImportError: No module named botocore.base
millisami at millisami in ~/Code/face_tester on design1 ↵ ✹
 

The installation is successful but the botocore states that no such file is report. can anyone help me with this?
Dec 3, 2018 in Python by ana1504.k
• 7,890 points
94 views

1 answer to this question.

0 votes
You can Try the following command and check :

sudo pip install awscli --force-reinstall --upgrade
answered Dec 3, 2018 by SDeb
• 13,190 points

Related Questions In Python

+2 votes
2 answers

Error while printing hello world in python.

You must be trying this command in ...READ MORE

answered Mar 31, 2018 in Python by GandalfDwhite
• 1,320 points
120 views
0 votes
2 answers

Indentation Error in Python

Use tabs instead of spaces. This is ...READ MORE

answered Feb 14 in Python by Shashank
• 1,350 points
101 views
0 votes
1 answer

'Syntax Error: invalid syntax' for no apparent reason

You're missing a close paren in this ...READ MORE

answered Aug 13, 2018 in Python by Priyaj
• 56,940 points
152 views
+1 vote
1 answer

How to print an error in Python?

For Python 2.6 and later and Python ...READ MORE

answered Aug 23, 2018 in Python by Priyaj
• 56,940 points
260 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
216 views
0 votes
1 answer
0 votes
1 answer

Key error in Python

A KeyError occurs when the Key doesn't ...READ MORE

answered Sep 20, 2018 in Python by SDeb
• 13,190 points
575 views
0 votes
11 answers