in Education by
I am trying to install awscli using pip3 on Linux Mint 17.2 Rafaela. I am getting the error: Traceback (most recent call last): File "/home/jonathan/.local/bin/aws", line 19, in import awscli.clidriver ImportError: No module named 'awscli' These are the steps I am taking, following the aws installation guide: sudo pip install awscli --upgrade --user everything seems to install fine. adding to my .bashrc export PATH=~/.local/bin:$PATH then source ~/.bashrc then i try the command aws --version and i get Traceback (most recent call last): File "/home/jonathan/.local/bin/aws", line 19, in import awscli.clidriver ImportError: No module named 'awscli' Can anyone help with this? Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Check if your aws cli was installed correctly and in the right directory. If you find that aws cli is not installed in the right directory then uninstall your aws cli using the following command: sudo pip3 uninstall awscli Make sure that you have also removed all the dependencies of awscli. After uninstalling, install it again using the following command: sudo pip3 install awscli Now if you run the aws --version command, it should work fine.

Related questions

0 votes
    I tried to follow this tutorial. This is what I did in the console: pip3 install --user --upgrade awscli after ... 's the problem here? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm trying to install some machine learning libraries on a new Windows laptop (I usually have Mac laptops ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    I'm trying to install some machine learning libraries on a new Windows laptop (I usually have Mac laptops ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 12, 2022 in Education by JackTerrance
0 votes
    I'm trying to install some machine learning libraries on a new Windows laptop (I usually have Mac laptops ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 10, 2022 in Education by JackTerrance
0 votes
    I tried this: pip3 install --user --upgrade awscli pip3 --version I'm getting: pip 9.0.1 from /downloads/ ... not found. Please help. Select the correct answer from above options...
asked Jan 24, 2022 in Education by JackTerrance
0 votes
    Here is the problem I have a requirements.txt that looks like: BeautifulSoup==3.2.0 Django==1.3 Fabric==1.2.0 ... . So what went wrong? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I would like to get a list of Python modules, which are in my Python installation (UNIX server). How can ... in your computer? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    Using pip, is it possible to figure out which version of a package is currently installed? I know about pip ... am currently using. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm new to Python and I want to install some packages with pip. But pip install unroll gives me: Command " ... How to solve this? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I want to install MySQL_python adapter (v1.2.2) using a new virtual env I created with a - -no-site-packages ... How can I do it? Select the correct answer from above options...
asked Jan 23, 2022 in Education by JackTerrance
0 votes
    How to upgrade all python packages in one go using pip? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    I read that pip is a replacement for easy_install, Can anyone tell me, How can I install pip using ... another better option? Select the correct answer from above options...
asked Jan 21, 2022 in Education by JackTerrance
0 votes
    Every time I want to config something with AWS I get the following error : "The config profile (myname) ... encrypt my credentials. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm trying to deploy a Docker container image to AWS using ECS, but the EC2 instance is not being created. I have ... , to begin with!! Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm stuck with this error for one on my app : Traceback (most recent call last): File "manage.py ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
...