Skip to Content
0
Mar 08, 2018 at 12:34 PM

HANA database service on cloud foundry with python does not work

1206 Views

Hi,

I am very new to cloud foundry and python and want to try the tutorial from https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/0a99ed7085b8447cb303c43253f2c704.html

to build a python app using the HANA database service.

However, after following the steps in the tutorial the app does not start and throws an error like:

File "server.py", line 4, in

from hdbcli import dbapi

ModuleNotFoundError: No module named 'hdbcli'

I had downloaded th XS_PYTHON and extracted it to a directory . Then the download command was issued as in the tutorial

pip download -d vendor -r requirements.txt –-find-links sap_dependencies

The vendor directory then looks like

What am I missing ?

any help is appreciated.

Attachments

unbenannt.png (29.7 kB)