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

Unexpected error executing python3 embedded code.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.2.22
    • 6.4.6
    • Code Generator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: