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.  Installing SHAP / llvmlite on Python 3.7

    Posted Mon June 26, 2023 11:26 AM

    Hello AIX Experts,

    I am trying to install SHAP on Python 3.7 and it requires the package llvmlite to be installed. But I have tried several versions of llvmlite and all got the following error. I am wondering if there is a way to install llvmlite in AIX environment?

    Thanks

    Mi

      running bdist_wheel
      /opt/freeware/bin/python3 /tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py
      Traceback (most recent call last):
        File "/tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py", line 226, in <module>
          main()
        File "/tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py", line 222, in main
          raise RuntimeError("unsupported platform: %r" % (sys.platform,))
      RuntimeError: unsupported platform: 'aix6'
      error: command '/opt/freeware/bin/python3' failed with exit status 1



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


  • 2.  RE: Installing SHAP / llvmlite on Python 3.7

    Posted Mon June 26, 2023 04:23 PM

    Hi AIX Experts,

    I am trying to install SHAP on python 3.7 and as a dependency, I have to install llvmlite. I have tried installation of several versions of llvmlite package and all got the following error. I am wondering if there is a way to install llvmlite with Python on AIX?

    Thanks

    Mi

      running bdist_wheel
      /opt/freeware/bin/python3 /tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py
      Traceback (most recent call last):
        File "/tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py", line 226, in <module>
          main()
        File "/tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py", line 222, in main
          raise RuntimeError("unsupported platform: %r" % (sys.platform,))
      RuntimeError: unsupported platform: 'aix6'
     



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