SUSE Support

Here When You Need Us

Python-requests 2.8.x not compatible with docker-compose 1.2.0.

This document (7017258) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 (SLES 12)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)


When updating SUSE Linux Enterprise Server 12 (containers module), the python-requests package is updated to version 2.8.x. 

Following the update, it is no longer possible to start docker-compose.


Interim solution until this will be resolved in code :

Downgrade the problematic python-requests version to the 2.3 version available in the Pool repository, for SLES 12 it is located in "SLES12-Pool" and for SLES 12 SP1 in "SLES12-SP1-Pool".

Additional Information

The following traceback is observed for Python version 2.8.1 when starting 'docker-compose' :

--- cut here ---
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/", line 2797, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=2.2.1,<2.6

--- cut here ---


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7017258
  • Creation Date: 16-Feb-2016
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.