pip install AttributeError: _DistInfoDistribution__dep_map

I'm trying to spin up an nvidia-docker (2.0) container in Ubuntu 16.04 running Conda with a few python libraries (GPU-enabled tensorflow, opencv, and gdal) and their various dependencies.

General explanation of the problem

I have a few libraries that I need to install using pip within that environment (e.g. tensorflow-gpu 1.10.0 and a couple of other custom libraries), but anytime I try to install a package using pip either in my Dockerfile or after, I get the following error: