- Newest
- Most votes
- Most comments
I notice the error happen because of python are unable to communicate with aws api. What i do to settle this issue is:
1)Python version conflict - got 2 version at server which is 3.7 & 2.7 -AWS API so far not support python 3 -Solution: Remove python "yum remove python3" . 2)Re-install cloudwatch agent services at server "sudo yum install -y awslogs" . 3)Reconfigure cloudwatch config files steps https://youtu.be/22lzkpra_WU
Issue solved...thanks everyone...
Hi,
sounds like the module is still missing. Did you try running the above command with a sudo (not sure if you need the sudo or not, might depend on how you access your EC2)? sudo pip install awscli-cwlogs
What does that command says?
if the command succeeds, did you also try running pip install --upgrade awscli-cwlogs
(again, not sure whether you need sudo or not)
Hello... I run the command as per suggested.This is the output: . sudo pip install awscli-cwlogs
Another one
I'm sorry I don't know what's causing your issue, I hope someone else jumps in with another suggestion
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 14 days ago
- AWS OFFICIALUpdated 10 days ago
- AWS OFFICIALUpdated 25 days ago
Hi mate.. Thanks for your reply...Just to inform u that I'm in root account,but i will run the command as per suggest and give you the results... Thanks again for the reply..