def run_pip_command(command_args, pip_version=None, python_version=None):
pip_exe, context = find_pip(pip_version, python_version)<EOL>command = [pip_exe] + list(command_args)<EOL>if context is None:<EOL><INDENT>return popen(command)<EOL><DEDENT>else:<EOL><INDENT>return context.execute_shell(command=command, block=False)<EOL><DEDENT>
Run a pip command.

    Args:
        command_args (list of str): Args to pip.

    Returns:
        `subprocess.Popen`: Pip process.