Fri Nov 16, 2018 2:40 pm
Login Register Lost Password? Contact Us


Pandas Module Not found

Comments and questions related to the Enterprise Control Language

Fri Aug 31, 2018 12:03 pm Change Time Zone

Hi All,

We are trying to run python logistic model through pickle file in our HPCC environment.
To load the pickle file We need sklearn and to run rest of the code we need pandas.

I am able to successfully import python , numpy etc. but the program fails in calling pandas and sklearn.
I have explicitly installed the libraries in /usr/bin/python which is the default python path and they are callable from there.

I have even tried calling libraries from external file.

below is the code for same.

rec:= RECORD
STRING V_F_ALL_REL_SAS_CUST_REF_CODE;
STRING PRIORITY_TAG;
STRING SMART_PHONE_TAG;
STRING AGE;
STRING OCCUP_ALL_NEW;
STRING CASA_TAG;
STRING VINTAGE_N;
STRING TOTAL_EP_TAG;
STRING TOTAL_CP_TAG;
STRING DIGITAL_ACTIVE;
STRING RBI_CLASS;
STRING FINAL_WORTH;
STRING ENGAGEMENT_TAG;
end;
T1 := dataset('~test::bank_customer_jul18_dist_py.csv',rec,csv(heading(1),sepataor('|')));


string tag(string a):= Import(Python,'/var/lib/HPCCSystems/mydropzone/model_testing.Preditctions');
choosen(tag(T1),1000);

but this also fails with module not found pandas.

Please let me know how to resolved this issue
abhijeetnaib1993
 
Posts: 2
Joined: Fri Aug 31, 2018 11:57 am

Tue Sep 11, 2018 8:40 pm Change Time Zone

Hi abhijeetnaib1993,

I will be glad to help you. Can you please send me your contact info to training@hpccsystems.com so that we can get in touch with you directly?
Please add attention to Lili. Thank you.

Best,
Lili
lily
 
Posts: 13
Joined: Fri Nov 04, 2016 1:02 pm

Thu Sep 13, 2018 6:39 am Change Time Zone

Thank You Lilli, I have dropped you a email .
Please check.

Thanks
Abhijeet
abhijeetnaib1993
 
Posts: 2
Joined: Fri Aug 31, 2018 11:57 am


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest

cron