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
  • 1.  Question about verification for

    Posted Mon October 23, 2023 10:15 AM

    Hi AIX Experts,

    I am trying to verify the installed scikit-learn package. It seems this can't be done with command 'import (package name)' (see below). I am wondering is there other method for the verification? 

    >>> import scikit-learn
      File "<stdin>", line 1
        import scikit-learn
                     ^

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Question about verification for

    Posted Mon October 23, 2023 08:34 PM

    Hi Ranjit / Ayappan,

    Can you please help out? The full error message is as following:

    >>> import scikit-learn
      File "<stdin>", line 1
        import scikit-learn
                     ^
    SyntaxError: invalid syntax
    >>>

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------



  • 3.  RE: Question about verification for

    Posted Tue October 24, 2023 11:19 AM

    not sure why you want to import everything, but if you are insisting on it...

    import sklearn



    ------------------------------
    I regret starting this entire conversation
    ------------------------------