Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Python on HCP

$
0
0

Hi All,

I am trying to run a python Script on HCP. But, this cannot be done directly. So, I am wrapping my script in a JAVA application and hosting this on HCP.

The JAVA application tries to run this script by intantiating a runtime Object (Basically executing a command line to run the script)

However when It tries to run the script, it gives an error saying:

 

"java.io.IOException: Cannot run python - execvpe failed (EACCES - Permission denied)".

 

Well, this is expected though. There might be multiples reasons for this error.

 

1. Python might not be installed on the VM.

2. I do not have permission to run a command line argument via a script on JVM.

 

Is there a way to get around this? Or it is not possible to acieve this?

 

Regards

Saif


Viewing all articles
Browse latest Browse all 3285

Trending Articles