Data360 Analyze

 View Only
  • 1.  How to Install Numpy Package For Python Coding in Transform Node

    Employee
    Posted 07-25-2021 20:29

    Hi,

    I am getting the following error when I try to import numpy package in the Transform node in dataverse:

    Error : No module named numpy Error executing "ProcessRecords" 

    Please let me know what could be the issue?



  • 2.  RE: How to Install Numpy Package For Python Coding in Transform Node

    Employee
    Posted 07-26-2021 02:22

    The Transform node is built using a Java implementation of the Python language - Jython. The Jython instance includes equivalents for the functionality included in the Python standard library.

    You can leverage third-party Python packages that are written in Python - i.e. they are Pure Python. However, it is not possible to use Python packages that are written in the C language. Elements of the numPy package are written in C.

    Please see this article for additional details:

    https://support.infogix.com/hc/en-us/articles/360051959533-How-to-install-3rd-party-Python-packages-on-Analyze