See the Workaround below for additional information.
Workaround:
Installation of Python modules (third-party dependencies) on air-gapped systems with specific example of capturing dependencies for the VMware Aria Automation Config Master plugin:
python3 -m venv test
cd test
source bin/activate
bin/pip3 install pyjwt==2.4.0 pika==1.3.1 3
bin/pip3 freeze > /tmp/requirements.txt
mkdir /tmp/wheel
bin/pip3 download -r /tmp/requirements.txt -d /tmp/wheel
ls /tmp/wheel
pika-1.3.1-py3-none-any.whl PyJWT-2.4.0-py3-none-any.whl
mv /tmp/requirements.txt /tmp/wheel tar -zcf wheelhouse.tar.gz /tmp/wheel
tar -zxf wheelhouse.tar.gz pip3 install -r tmp/wheel/requirements.txt --no-index --find-links tmp/wheel