INSTALL ANT ON MAC BREW INSTALL
We need to do the above client install and then upgrade Hue's client module to at least cx_Oracle-5.3. Hue comes with an older Oracle client cx_Oracle-5.2.1 Python module so it will fail. Then unzip the content of both downloaded zip files into the newly created $ORACLE_HOME in a way that the ‘sdk’ folder is at the same level with the other files and then ln -s libclntsh.dylib.11.1 libclntsh.dylib Version 11ĭownload both instantclient-basic and instantclient-sdk of the same version (11.2.0.4.0 for this example) and on your ~/.bash_profile, add export ORACLE_HOME=/usr/local/share/oracle You would need the OS python-psycopg2 or Python psycopg2. Remove and add the compatible MySql lib with these two commands: git cherry-pick 7a9100d4a7f38eaef7bd4bd7c715ac1f24a969a8 Unfortunately for licensing reason (GPL vs Apache) this can't be officially done in the Hue repository. With the recent OSs like Ubuntu 20.04 or using Python 3, the MySQL-python lib won't compile properly and will produce an error similar to: _mysql.c:44:10: fatal error: my_config.h: No such file or directory The client lib MySQL-python is already included so it should work out of the box. Hue is being ran the most with MySQL InnoDB, PostgreSQL or Oracle. # If you are using Python 3.6+, set PYTHON_VER before the build, like
To install from the tarball, you'll need these library development packages and tools installed on your system:
Hue employs some Python modules which use native code and requires certain development libraries be installed on your system. You will need Python, some OS packages, a Database and Node.js.