Skip to Content
Jan 02 at 02:08 PM

xs login on Ubuntu returns error


I installed SAP HANA Express on Ubuntu 20.04 acording to How to install SAP Hana Express Edition 2.0 on Ubuntu 18.04 (Bionic Beaver)

when I try to do xs login according to the steps of the tutorial SAP HANA XS Advanced, explore the basic tools

I run into the python error

Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized

See full error message here: SAP HANA on Ubuntu - xs login results in python error

So my question is:

1. where is this xs program and how does it start ( I can neither find it via which xs nor via find / -name xs)

2. In forums I saw that the issue results mostly because python-environment variables PYTONHOME and/or PYTHONPATH are set. Maybe there needs to be a change??