APIPythonOpen-Source Solutions

 View Only
  • 1.  delphixpy installation

    Posted 11-20-2019 10:57:00 AM
    I need to install delphixpy in a windows server which is on a private network but the server cannot access the internet. I can remote desktop to this server and copy files there.
    So i downloaded delphixpy-1.10.6.0.tar.gz and delphixpy-1.10.6.0-py2.py3-none-any.whl to my laptop.
    How to proceed from there?
    I have installed latest python 2.7 and Python 3.8 in the server.
    Thanks in advance

    ------------------------------
    Pierre Morel
    Sr Software Engineer
    Dell Technologies
    ------------------------------


  • 2.  RE: delphixpy installation

    Posted 11-21-2019 10:21:00 AM
    Hi Pierre,

    Try the follwing action plan :

    1/ Download all requirement on machine with network using the follwing command
    mkdir c:\tmp\delphixpy
    pip install --download c:\tmp\delphixpy -r requirements.txt

    2/ Copy c:\tmp\delpohixpy to the other machine

    3/ Run this command to install delphixpy

    pip install --no-index --find-links=file:c:\tmp\delphixpy -r requirements.txt

    Regards,

    Mouhssine

    ------------------------------
    Mouhssine SAIDI
    Community Member
    Delphix Community Members
    ------------------------------



  • 3.  RE: delphixpy installation
    Best Answer

    Posted 11-21-2019 03:02:00 PM

    Hey Pierre,

    Adding the answer here as well:

    If you have a server that does not have access to the internet, you will have to manually build and install delphixpy. Download and extract the latest version of delphixpy. Open Powershell or command window, and run "python2 setup.py build" then "python2 setup.py install". If using Python3, run "python3 setup.py build" then "python3 setup.py install". This will build and install the package. You can use this procedure for any Python package as well.

    Thanks,

    Corey



    ------------------------------
    Corey Brune
    Technical Manager
    Higher Logic Community Members
    ------------------------------