Is it possible to install python packages without a direct outbound network connection?
from a pc that connected to internet :
pip download yourpackage
copy "yourpackage.tar.gz" to server in server :
pip install "path/yourpackage.tar.gz"
if package have ".whl" file :
pip install "path/yourpackage-version.whl"