I have a dev Linux server (RHEL) which doesn't have any internet connectivity where we need to develop a python application. I can connect to this dev box from my local Windows server where I have internet connection.
I would need to install python-3.75 and some other packages (some of which need gcc compilers and other dependencies) on this dev box.
What is the best way to do this considering that some packages will have many dependencies and there is no internet on the dev box ?
Some options that the internet research suggests for package installation are:
Download the packages using PIP DOWNLOAD on the local server > copy the package tar to the dev server >
pip install package
download and unpack the source distribution > using the setup.py file of the package: run
python setup.py install --user
Install using Wheels: Find the wheel for the package > upload it to the dev server > run
pip install SomePackage.whl
Please let me know which one of these is good considering the limitations and kindly suggest if there is any other option as well.