When I tried to install hops_airflow__default (hops_airflow__default.sh), I encountered an error, some of the error messages are as follows :
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (setup.py): started
Building wheel for mysqlclient (setup.py): finished with status βerrorβ
Running setup.py clean for mysqlclient
Failed to build mysqlclient
Installing collected packages: mysqlclient
Running setup.py install for mysqlclient: started
Running setup.py install for mysqlclient: finished with status βerrorβ
STDERR: ERROR: Command errored out with exit status 1:
command: /srv/hops/anaconda/anaconda/envs/airflow/bin/python -u -c βimport io, os, sys, setuptools, tokenize; sys.argv[0] = β"β"β/tmp/pip-install-1llp1aov/mysqlclient_b8c24fd2d834460b9fa2cb8e08ca2498/setup.pyβ"β"β; file=β"β"β/tmp/pip-install-1llp1aov/mysqlclient_b8c24fd2d834460b9fa2cb8e08ca2498/setup.pyβ"β"β;f = getattr(tokenize, β"β"βopenβ"β"β, open)(file) if os.path.exists(file) else io.StringIO(β"β"βfrom setuptools import setup; setup()β"β"β);code = f.read().replace(β"β"β\r\nβ"β"β, β"β"β\nβ"β"β);f.close();exec(compile(code, file, β"β"βexecβ"β"β))β bdist_wheel -d /tmp/pip-wheel-t49e9x8w
cwd: /tmp/pip-install-1llp1aov/mysqlclient_b8c24fd2d834460b9fa2cb8e08ca2498/
Complete output (72 lines):
gcc -pthread -shared -B /srv/hops/anaconda/anaconda/envs/airflow/compiler_compat -L/srv/hops/anaconda/anaconda/envs/airflow/lib -Wl,-rpath=/srv/hops/anaconda/anaconda/envs/airflow/lib -Wl,βno-as-needed -Wl,βsysroot=/ build/temp.linux-x86_64-3.7/_mysql.o -L/usr/lib64/ -lmariadb -o build/lib.linux-x86_64-3.7/_mysql.cpython-37m-x86_64-linux-gnu.so
/srv/hops/anaconda/anaconda/envs/airflow/compiler_compat/ld: cannot find -lmariadb
collect2: error: ld returned 1 exit status
error: command βgccβ failed with exit status 1
Has anyone ever had this problem? Any comments will be much appreciated. The attachment is the full log.hops_airflow__default.zip (6.7 KB)