running ./cortexcontrol unsuccessful

Following the install in http://ai-ctx.gitlab.io/ctxctl/primer.html#install, delivers (on Ubuntu 16.04.4)

Could not find platform independent libraries Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to [:<exec_prefix>] Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007feec4be4780 (most recent call first): Aborted (core dumped)

I set PYTHONHOME to /usr/local/lib/python3.5/