### Summary

Use of `pkg_resources` is [deprecated](https://github.com/pypa/setuptools/pull/3843) as of `setuptools` version [67.5.0](https://setuptools.pypa.io/en/stable/history.html#v67-5-0).

https://github.com/ansible/ansible/blob/0371ea08d6de55635ffcbf94da5ddec0cd809495/lib/ansible/modules/pip.py#L277-L284

### Issue Type

Feature Idea

### Component Name

pip module

candidate_pip_basenames = ('pip2', 'pip')
    if PY3:
        
        candidate_pip_basenames = ('pip3',)
    pip = None
    if executable is not None:
        if os.path.isabs(executable):
            pip = executable
        else:
            
            
            candidate_pip_basenames = (executable,)
    elif executable is None and env is None and _have_pip_module():
        
        
        
        pip = [sys.executable, '-m', 'pip.__main__']
    if pip is None:
        if env is None: