Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18717

Unexpected error executing python3 embedded code.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.22
    • Fix Version/s: 6.4.6
    • Component/s: Code Generator
    • Labels:
      None
    • Environment:
      platform 6.4.4-1, additionalPlugins=python3 in environment.conf, installed python3 plugin, python3.4 installed.

      Description

      Attempting to run the following embedded python code:

      Import Python3;
      STRING codeGen(STRING inStr) := EMBED(Python3)
          import numpy as np
          l = [1,2,3]
          a = np.array(l)
          return inStr
      ENDEMBED;
      
      codeGen('abcdefg');
      

      But, I'm getting the following error.

      Importing the multiarray numpy extension module failed.  Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean 
      

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              tlhumphrey2 Timothy Humphrey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: