title: Invalid syntax error on running AWS command
body: <p>I am getting the below exception while trying to run any AWS command on my MacBook, for example:</p>
  <p><strong>Command</strong></p>
  <pre><code>aws s3api create-bucket --bucket my_backup  --region us-west-2 --create- 
  bucket-configuration LocationConstraint=us-west-1
  </code></pre>
  <p><strong>Exception</strong></p>
  <pre><code>Traceback (most recent call last):
  File &quot;/Users/avinash/.local/share/virtualenvs/pipend_shell_3- 
  x8skfE25/bin/aws&quot;, line 7, in &lt;module&gt;
  from aws.main import main
  File &quot;/Users/avinash/.local/share/virtualenvs/pipend_shell_3- 
  x8skfE25/lib/python3.6/site-packages/aws/main.py&quot;, line 23
  print '%(name)s: %(endpoint)s' % {
                               ^
  SyntaxError: invalid syntax
  </code></pre>
  <p>I am using Python 3.6.5 and have installed <code>aws</code>:</p>
  <pre><code>pip install aws
  </code></pre>