This almost definitely isn’t pip, since it doesn’t have any output of the format “(and xyz more)” or see e.stdout etc.
You should be able to disable ANSI output with --progress (color is dependent on the stream being a tty, but --no-color will force it off).
None the less, if that’s not happening, please file a bug report on our issue tracker (https://github.com/pypa/pip/issues/choose) with a minimal example and steps to reproduce and I’ll be more than happy to figure out what we can do. 