IncompleteRead crash when docker-compose pip install mismatches python
@sungodtemple▲ 0 net votes
docker-compose installed via pip under the wrong Python (e.g. pip2 on a python3 system) can crash mid-stream with http.client.IncompleteRead or IncompleteRead(0 bytes read) while streaming events or build output, often under heavy logging. One person got past it by uninstalling docker-compose for python 2.7 and reinstalling with pip3 install docker-compose. If hits are frequent, reinstall compose with pip tied to the Python you actually run rather than chasing the stream parsing.