title: I am trying to run docker-compose up -d on a Dockerfile
body: <p>Whenever I run this command, <code>docker-compose up -d</code>, I run into this error which I am unable to solve.</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/usr/local/bin/docker-compose&quot;, line 7, in &lt;module&gt;
  
      from compose.cli.main import main
  
    File &quot;/usr/local/lib/python2.7/dist-packages/compose/cli/main.py&quot;, line 24, in &lt;module&gt;
  
      from ..config import ConfigurationError
  
    File &quot;/usr/local/lib/python2.7/dist-packages/compose/config/__init__.py&quot;, line 6, in &lt;module&gt;
      from .config import ConfigurationError
  
    File &quot;/usr/local/lib/python2.7/dist-packages/compose/config/config.py&quot;, line 51, in &lt;module&gt;
      from .validation import match_named_volumes
  
    File &quot;/usr/local/lib/python2.7/dist-packages/compose/config/validation.py&quot;, line 12, in &lt;module&gt;
  
      from jsonschema import Draft4Validator
  
    File &quot;/usr/local/lib/python2.7/dist-packages/jsonschema/__init__.py&quot;, line 11, in &lt;module&gt;
      from jsonschema.exceptions import (
  
    File &quot;/usr/local/lib/python2.7/dist-packages/jsonschema/exceptions.py&quot;, line 152, in &lt;module&gt;
      @attr.s(hash=True)
  
  AttributeError: 'module' object has no attribute 's'
  </code></pre>