Hello,
When I want to make a docker-composite build I get the following error:
pkg_resources.ContextualVersionConflict: (requests 2.21.0 (/usr/lib64/python3.6/site-packages), Requirement.parse('requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1'), {'docker-compose'})I tried to uninstall requests and install an earlier version like 2.14.2 and here is the result:
pip uninstall requests pip install requests==2.14.2 hugo@thora ~ $ pip show requests Name: requests Version: 2.14.2 Summary: Python HTTP for Humans. Homepage: http://python-requests.org Author: Kenneth Reitz Author-email: me@kennethreitz.com License: Apache 2.0 Location: /usr/lib64/python2.7/site-packages Required: You are using pip version 9.0.1, however version 18.1 is available. You should consider upgrading via the'pip install --upgrade pip' command.
But this does not correct the problem.
The pipconflictchecker command returns no conflicts.
I think there is a difference between the python2 and python3 requests package but I can't get docker-compos to use the python2 version.
Happy New Year to all!
Translated with www.DeepL.com/Translator