Delphix Community Platform

 View Only

python failure in loading modules from sitepackages

  • 1.  python failure in loading modules from sitepackages

    Posted 12-03-2020 09:21:00 AM

    I have installed a package from python using pip. When i'm trying to load that module failed with errors.

    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.
    >>> import delphixpy
    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'
    

    When i look towards the folder, i could see the folders available in the site-packages/delphixpy/

    I see the file init.py available in each and every subfolder as well. Still it is failing loading the modules.



    ------------------------------
    likith sunny
    DevOps Engineer
    Delphix Community Members
    ------------------------------