Two Stars

[resolved] Call Python script from Talend

Hello , 
While calling a python script form Talend , I am getting 
Exception in component tSystem_1
java.io.IOException: Cannot run program "python" 
Earlier I was using python27 and things were going fine . I due to some package dependencies moved to  python34 . As of now it is unable to recognize python . I checked python is there in the classpath . Infact the python script is running fine when running standalone. 
Do I need to make some changes in some settings or something else.
Please help . Its a kind of blocker for me .
Thanks & regards,
Jyoti 
1 ACCEPTED SOLUTION

Accepted Solutions
Two Stars

Re: [resolved] Call Python script from Talend

I was able to solve it by setting the classpath for python from talend under window -> Preferences-> java -> Build path - > Class path variables.
Thanks
4 REPLIES
Two Stars

Re: [resolved] Call Python script from Talend

I was able to solve it by setting the classpath for python from talend under window -> Preferences-> java -> Build path - > Class path variables.
Thanks
One Star

Re: [resolved] Call Python script from Talend

I have a question. Do you have Python installed on the same server as Talend?
One Star

Re: [resolved] Call Python script from Talend

More specifically, I am wondering how to call a Python script when Python runs on another server. Any help is appreciated.
Two Stars

Re: [resolved] Call Python script from Talend

Yes , I have my python installed on the same server as of talend.
are you figuring a way to call a  python script on a remote machine? I have not spent time on that.Probably you can raise this question as a new post. as this one is marked as resolved already.
Hope u will find a solution soon.
Thanks.