title: having trouble installing awslogs agent
body: <p>I'm having issues trying to instal awslogs agent on my ec2 node. When I run this command:</p>
  
  <pre><code>sudo python ./awslogs-agent-setup.py --region us-east-1
  </code></pre>
  
  <p>it seems to fail at step 2 like this:</p>
  
  <pre><code>Launching interactive setup of CloudWatch Logs agent ... 
  
  Step 1 of 5: Installing pip ...DONE
  
  Step 2 of 5: Downloading the latest CloudWatch Logs agent bits ... 
  Traceback (most recent call last):
    File "./awslogs-agent-setup.py", line 1144, in &lt;module&gt;
      main()
    File "./awslogs-agent-setup.py", line 1140, in main
      setup.setup_artifacts()
    File "./awslogs-agent-setup.py", line 696, in setup_artifacts
      self.install_awslogs_cli()
    File "./awslogs-agent-setup.py", line 523, in install_awslogs_cli
      subprocess.call([AWSCLI_CMD, 'configure', 'set', 'plugins.cwlogs', 'cwlogs'], env=DEFAULT_ENV)
    File "/usr/lib64/python2.7/subprocess.py", line 524, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
      errread, errwrite)
    File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory
  </code></pre>
  
  <p>what directory or file is it missing?</p>