IBM i Open Source

 View Only

IBM i Install Python mlxtend library

  • 1.  IBM i Install Python mlxtend library

    Posted Wed June 21, 2023 10:59 AM

    First post!

    Hi. I'm trying to install the Python mlxtend data science library (v 0.22.0) on an IBM i 7.3 server using Python3.9. I'm seeing errors installing because the scikit-learn dependency required by mlxtend is version 1.0.2 however the scikit-learn package version installed via the IBM repo is 1.0.1

    I successfully installed mlxtend version 0.19.0 however I am receiving the following error when I import the TransactionEncoder (from mlxtend.preprocessing import TransactionEncoder):

    Internal Error: insert(): Duplicate key found!

    Has anyone been able to get this library installed? 

    Thanks,

    Rob



    ------------------------------
    - Rob
    ------------------------------