Python

Python

Python

 View Only
  • 1.  Why Numpy is missing in python 3.12 and 3.13?

    Posted Thu September 11, 2025 03:53 PM

    Hi, I would like to build a package using pandas and numpy. In python 3.11, there is a numpy version 1.23.4 included. However, in python 3.12 and 3.13, the numpy package is no longer there. Numpy 1.23.4 cannot work in python 3.12. I know numpy 2.0.2 is included in the python ai toolkit, but pandas 1.5.1 in the toolkit cannot work with numpy >= 2. Could anyone help how I could use both together in 3.12 and 3.13? 

    I have tried to build numpy 1.26.4 on 3.12 but failed with message  of "target_compile_features no known features for CXX compiler". Is there anyone has any experience how to do it?



    ------------------------------
    Fran Wong
    ------------------------------


  • 2.  RE: Why Numpy is missing in python 3.12 and 3.13?

    Posted Mon September 15, 2025 10:23 AM

    Hi. The Python AI Toolkit for all Python 3.11/3.12/3.13 now has the following versions available which are compatible:

    Numpy - 2.0.2

    Pandas - 2.3.0

    Could you try them and verify they work for you?



    ------------------------------
    Steven Pitman
    ------------------------------



  • 3.  RE: Why Numpy is missing in python 3.12 and 3.13?

    Posted Tue September 16, 2025 07:21 AM

    I am also looking for similar information. How to install Python AI toolkit on zos. Can you share any links ?



    ------------------------------
    Anantha Padmanabhan A
    ------------------------------



  • 4.  RE: Why Numpy is missing in python 3.12 and 3.13?

    Posted Tue September 16, 2025 09:01 AM

    Hi Anantha - you can find the Python AI Toolkit here - https://ibm-z-oss-oda.github.io/python_ai_toolkit_zos/. There are instructions on how to use it at the top. 



    ------------------------------
    Steven Pitman
    ------------------------------