Couchbase SDK install error

I am trying to install couchbase client on my RedHat server. I am executing the below command to complete installation. I see download begins but fails with the below error.
This server does not have access to the internet hence its failing to download from github. I would like to know if others have faced a similar issue installing the same. Do we have any workaround other than pulling this from github.

python3.6 -m pip install couchbase

Cloning into 'libcouchbase_src'...
  fatal: unable to access 'https://github.com/couchbase/libcouchbase/': Could not resolve host: github.com; Name or service not known
  Cloning into 'libcouchbase_src'...
  fatal: unable to access 'https://github.com/couchbase/libcouchbase/': Could not resolve host: github.com; Name or service not known
  Cloning into 'libcouchbase_src'...
  fatal: unable to access 'https://github.com/couchbase/libcouchbase/': Could not resolve host: github.com; Name or service not known
  -- Had to git clone more than once:
            3 times.
  CMake Error at /tmp/pip-req-build-vfbrx5td/build/temp.linux-x86_64-3.6/libcouchbase_src-prefix/tmp/libcouchbase_src-gitclone.cmake:31 (message):
    Failed to clone repository: 'https://github.com/couchbase/libcouchbase'

Hi @vikashnagarajan - You can create a wheel of the Couchbase client on a machine with internet access. You can then copy the *.whl file over to the machine w/o internet access. Just make sure that the machine used to create the wheel has the same OS and Python version as the machine w/o internet.

The steps outlined below should get you to the wheel file.

  1. Download the Couchbase client source
    git clone --depth 1 --branch 3.1.3 https://github.com/couchbase/couchbase-python-client.git

  2. Make sure pip, setuptools and wheel are installed and upgraded.
    python3 -m pip install --upgrade pip setuptools wheel

  3. Make sure you are in the directory where the Couchbase Python client was cloned (otherwise you will need to point to the location of the setup.py file in the next step)

  4. Build the Couchbase client wheel (output should be in /dist directory of the current directory)
    python3 setup.py bdist_wheel

  5. Copy the *.whl file to the machine w/o internet. The filename should look similar to couchbase-3.1.3.dev8+g16cded6a-cp38-cp38-linux_x86_64.whl

  6. Install the Couchbase client
    python3 -m pip install <wheel filename>.whl

I hope this helps.