support more version for pip module

Fix #9011 

@jimi-c can you help CR please.

Thanks,
Kien