AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Install zeep python via pip3

    Posted Fri July 06, 2018 06:17 AM

    Originally posted by: AS400-Julio


    Hello I want to install zeep cliet via pip3 with the command

    pip3 install zeep

    I have seen the requerimient of this software in http://docs.python-zeep.org/en/master/

    The problem is install lxml package becuase

    However the lxml dependency does contain C code since it uses libxml2 and libxslt.

    I execute this code to see the libxml2 and libxslt is my system                            

    yum list installed | grep libx

    yum list installed | grep libx                                              
    libxml2-2.ppc64                            2.9.4-2                     instaled                                                                         
    libxml2-tools.ppc64                        2.9.4-2                     @ibm                                                                           
    libxslt.ppc64                              1.1.29-3                    @ibm

     

    I think that the dependency are installed in my sistem but i can not install zeep software

    Part of this error is

    Building wheels for collected packages: lxml                                 
      Running setup.py bdist_wheel for lxml ...  [?25lerror                      
      Complete output from command /QOpenSys/pkgs/bin/python3 -u -c "import setup
    tools, tokenize;__file__='/tmp/pip-build-nahan8qg/lxml/setup.py';f=getattr(to
    kenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close()
    ;exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp_8i5rlsrpip-wh
    eel- --python-tag cp36:                                                      
      Building lxml version 4.2.3.                                               
      Building without Cython.                                                   
      Using build configuration of libxslt 1.1.29                           

       creating build/temp.os400-powerpc64-3.6/src/lxml                           
       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wal
     l -Wstrict-prototypes -O2 -g -maix64 -O2 -g -maix64 -DCYTHON_CLINE_IN_TRACEBA
     CK=0 -I/QOpenSys/QIBM/ProdData/OPS/tools/include -I/QOpenSys/QIBM/ProdData/OP
     S/tools/include/libxml2 -Isrc -Isrc/lxml/includes -I/QOpenSys/pkgs/include/py
     thon3.6m -c src/lxml/etree.c -o build/temp.os400-powerpc64-3.6/src/lxml/etree
     .o -w
         

       unable to execute 'gcc': No such file or directory                         
       Compile failed: command 'gcc' failed with exit status 1                    
       creating tmp                                                               
       cc -I/QOpenSys/QIBM/ProdData/OPS/tools/include -I/QOpenSys/QIBM/ProdData/OP
     S/tools/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInit5nrdfw0k.c
      -o tmp/xmlXPathInit5nrdfw0k.o                                               
       unable to execute 'cc': No such file or directory                          
       ***************************************************************************
     ******                                                                       
       Could not find function xmlCheckVersion in library libxml2. Is libxml2 inst
     alled?                                                                       
       ***************************************************************************
     ******                                                                       
       error: command 'gcc' failed with exit status 1           

    I have installed gcc in my system

    yum list installed | grep gcc                                               
    gcc-aix.fat                                6.3.0-16                    @ibm
                                                                                
    gcc-cplusplus-aix.fat                      6.3.0-16                    @ibm
                                                                                
    gcc-cpp-aix.fat                            6.3.0-16                    @ibm
                                                                                
    gcc-gfortran-aix.fat                       6.3.0-16                    @ibm
                                                                                
    libgcc-aix.fat                             6.3.0-16                    @ibm
                                                                                
    libgcc_s1.ppc64                            6.3.0-16                    @ibm                   

    Do you know how can I install lxml python package to install zeep?

     

    Best regards, Julio.                                                                     



  • 2.  Re: Install zeep python via pip3

    Posted Fri July 06, 2018 07:01 AM

    Originally posted by: AyappanP


    I think your queries are targeted towards IBM i . This forum is mainly used for AIX queries.