Fix pip imports for 10.0.0

Pip 10.0.0 introduced non-backwards compatible changes.  This causes
problem in setup.  Adding handling for different cases.

Issue-ID: DCAEGEN2-452
Change-Id: I06eba2c3d2aa15827a2e66afb37a4c8416810744
Signed-off-by: Lusheng Ji <lji@research.att.com>
1 file changed