API/Python/Open-Source Solutions

Expand all | Collapse all

Unable to load delphixpy module failing with sys.path errors

Jump to Best Answer
  • 1.  Unable to load delphixpy module failing with sys.path errors

    Posted 06-07-2017 07:26:00 PM
    Able to install delphixpy using pip module successfully.   But unable load the module.  when i look towards folder,  web is already available in the sitepackages/delphixpy 


    python 3.5.2 (default, Dec 22 2016, 12:23:20)[GCC 4.8.5] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from delphixpy.v1_6_0.delphix_engine import DelphixEngine
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/oracle/Envs/delphix/lib/python3.5/site-packages/delphixpy/__init__.py", line 6, in <module>
        import web
    ImportError: No module named 'web'
    >>> from delphixpy.v1_6_0.delphix_engine import DelphixEngine
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/oracle/Envs/delphix/lib/python3.5/site-packages/delphixpy/__init__.py", line 6, in <module>
        import web
    ImportError: No module named 'web'
    >>> from delphixpy.v1_6_0.web import database
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/oracle/Envs/delphix/lib/python3.5/site-packages/delphixpy/__init__.py", line 6, in <module>
        import web
    ImportError: No module named 'web'



    Regards,
    Ramesh G




  • 2.  RE: Unable to load delphixpy module failing with sys.path errors

    Posted 06-07-2017 10:10:00 PM
    you are in Python 3.5. You should be running python 2.7


  • 3.  RE: Unable to load delphixpy module failing with sys.path errors

    Posted 06-07-2017 11:38:00 PM

    Okay.

    So, there is no package for python 3.5 version



  • 4.  RE: Unable to load delphixpy module failing with sys.path errors

    Posted 06-07-2017 11:39:00 PM
    If there exists any package available for python 3.5 please let me know   Thank you.


  • 5.  RE: Unable to load delphixpy module failing with sys.path errors
    Best Answer

    Posted 06-08-2017 12:51:00 PM
    delphixpy is not supported for Python 3. Only python 2 (2.7+)


  • 6.  RE: Unable to load delphixpy module failing with sys.path errors

    Posted 06-08-2017 12:53:00 PM
    Thank you for the resolution.   is there any support documentation available for list of classes and methods available.  I'm not able to locate in pypi download documentation.  And I haven't see anywhere mentioned about the version. 

    Thank you


  • 7.  RE: Unable to load delphixpy module failing with sys.path errors