Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

No module named sqlite (yum / python3)

  • 1.  No module named sqlite (yum / python3)

    Posted Thu September 26, 2019 01:35 PM

    Originally posted by: Bharathaselvan K


    After yum update to latest version yum not working. Let me know if anyone faced same issues and how to fix it.

     

    XXXXXXXXX:/ # yum check
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

       No module named sqlite

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


    XXXXXXXXX:/ # rpm -qa |  grep -i python
    python-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-urlgrabber-3.10.1-1.noarch
    python-devel-2.7.10-1.ppc
    python3-devel-3.7.4-1.ppc
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python3-3.7.4-1.ppc
    aegwd1nasv01:/ #

    XXXXXXXXX:/ # rpm -qa |  grep -i sqlite
    pysqlite-2.8.3-1.ppc
    sqlite-3.28.0-1.ppc
    XXXXXXXXX:/ #

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: No module named sqlite (yum / python3)

    Posted Fri September 27, 2019 12:21 PM

    Originally posted by: AyappanP


    You have older python and newer pysqlite , so that created incompatibility.

    Can you try downgrading pysqlite to 1.1.7-2 ?

    ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python/pysqlite-1.1.7-2.aix6.1.ppc.rpm


    #AIX-Open-Source-Software
    #AIXOpenSource