Original Message:
Sent: Fri May 05, 2023 10:43 AM
From: Ayappan P
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
There are some steps that needs to be followed to smoothly migrate from python3.7 to python3.9.
We will come up with a blog for that.
------------------------------
Ayappan P
Original Message:
Sent: Fri May 05, 2023 10:20 AM
From: Mi Wang
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
Hi Ayappan P,
It works. Thanks. By the way, the building of matplotlib requires many packages from AIX Toolbox. I am wondering when the new AIX Toolbox + python 3.9.16 is available and we do upgrade, will those already installed packages be upgraded automatically?
Thanks
Mi
------------------------------
Mi Wang
Original Message:
Sent: Thu May 04, 2023 07:05 AM
From: Ayappan P
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
You have just the meta-package "libgfortran-10-2.ppc" which only provides the symlinks. The actual files are provided by libgfortran10-<version>-<release> package.. You need to install that one.
You can get it from -->
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.3/gcc10/ (for AIX 7.3)
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc10/ (for AIX 7.2)
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/gcc10/ (for AIX 7.1)
------------------------------
Ayappan P
Original Message:
Sent: Wed May 03, 2023 10:42 AM
From: Mi Wang
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
Hi Ayappan P,
Please find the command output:
root: rpm -qa | grep libgfortran
libgfortran8-8.3.0-7.ppc
libgfortran-10-2.ppc
Thanks
Mi
------------------------------
Mi Wang
Original Message:
Sent: Wed May 03, 2023 03:10 AM
From: Ayappan P
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
From the error message, it looks like libgfortran.a(libgfortan.so.5) is not found by openblas library. Please check whether you have the proper libgfortran rpms installed.
Check "rpm -qa | grep libgfortran"
------------------------------
Ayappan P
Original Message:
Sent: Tue May 02, 2023 05:24 PM
From: Mi Wang
Subject: Compatibility of AIX Toolbox's libgfortran, openblas and numpy with PYPI packages
Hello,
We have installed AIX Toolbox's libgfortran, openblas and numpy. When I tried to install matplotlib 3.2.2, I got the following errors (not sure if the 2nd error was caused by 1st one). Please help:
" ImportError: Could not load module /opt/freeware/lib/libopenblas.a(libopenblas.so.0).
Dependent module libgfortran.a(libgfortran.so.5) could not be loaded.
Could not load module libgfortran.a(libgfortran.so.5).
System error: No such file or directory
Could not load module /opt/freeware/lib64/python3.7/site-packages/numpy/core/_multiarray_umath.so.
Dependent module /opt/freeware/lib/libopenblas.a(libopenblas.so.0) could not be loaded."
"
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed."
Thanks
Mi
------------------------------
Mi Wang
------------------------------