Skip to Content
0
Feb 14 at 11:25 PM

Python 3 Runtime in HANA XSA

218 Views

Hello all,

I have tried installing the Python 3.x version to my HANA XSA Express edition without any luck.

I am able to create the CF Python buildpack but that apparently does not provide me the runtime and there are also instructions to create the runtime. I am following the BYOR Setup Python Runtime blog but I am only able to get to the step where the create-runtime command is executed and I am getting an error stating:

java.io.IOException: could not find ~/builds/Python-3.9.1/lb/python3.9/site-packages/pks_resources

I am not sure how to proceed from here.

in the vm, I am able to run python --version and i get the default runtime 2.7 and I can run python3 --version and I get 3.4

I am confused whether the buildpack should allow me to push a Python app to the system or not (I get an error when trying xs push app -b cf_python <-- the name of my buildpack which also shows in the xs buildpacks command)

or if I need to install the Python 3.9 version (matching the python install from the blog) but I cannot get pass through the create runtime command. Any tips are appreciated.

Thank you!