Unable to load delphixpy module failing with sys.path errors

  • 0
  • 1
  • Problem
  • Updated 12 months ago
  • Solved
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
Photo of Ramesh Gopisetty

Ramesh Gopisetty

  • 100 Points 100 badge 2x thumb

Posted 12 months ago

  • 0
  • 1
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,418 Points 10k badge 2x thumb
you are in Python 3.5. You should be running python 2.7
Photo of Ramesh Gopisetty

Ramesh Gopisetty

  • 100 Points 100 badge 2x thumb

Okay.

So, there is no package for python 3.5 version

Photo of Ramesh Gopisetty

Ramesh Gopisetty

  • 100 Points 100 badge 2x thumb
If there exists any package available for python 3.5 please let me know   Thank you.
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,418 Points 10k badge 2x thumb
delphixpy is not supported for Python 3. Only python 2 (2.7+)
Photo of Ramesh Gopisetty

Ramesh Gopisetty

  • 100 Points 100 badge 2x thumb
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
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,418 Points 10k badge 2x thumb