Glam Prestige Journal

Bright entertainment trends with youth appeal.

New to linux, I just installed AWS CLI alongside Python3 and boto3 but I get this error when I tried running AWS CLI.

fdostuni@PG022:~$ sudo ./aws/install
You can now run: /usr/local/bin/aws --version
fdostuni@PG022:~$ aws --version
Traceback (most recent call last): File "/usr/bin/aws", line 19, in <module> import awscli.clidriver File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 36, in <module> from awscli.help import ProviderHelpCommand File "/usr/lib/python3/dist-packages/awscli/help.py", line 23, in <module> from botocore.docs.bcdoc import docevents
ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc' (/home/fdostuni/.local/lib/python3.8/site-packages/botocore/docs/bcdoc/__init__.py)
1

1 Answer

try running

pip3 install --upgrade awscli

or

pip install --upgrade awscli
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy