Hi Team.. I am trying to install hive plugin like ...
# getting-started
m
Hi Team.. I am trying to install hive plugin like this:`pip install acryl-datahub[hive]==0.8.35` But I am getting error:
Running setup.py install for sasl3 did not run successfully.
This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Can someone help me here
h
m
no the above command didnt resolve the issue
Running setup.py install for sasl3 ... error error: subprocess-exited-with-error × Running setup.py install for sasl3 did not run successfully. │ exit code: 1 ╰─> [29 lines of output] /usr/local/lib/python3.8/dist-packages/setuptools/dist.py772 UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install /usr/local/lib/python3.8/dist-packages/setuptools/command/install.py34 SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/sasl copying sasl/__init__.py -> build/lib.linux-x86_64-cpython-38/sasl running egg_info writing sasl3.egg-info/PKG-INFO writing dependency_links to sasl3.egg-info/dependency_links.txt writing requirements to sasl3.egg-info/requires.txt writing top-level names to sasl3.egg-info/top_level.txt reading manifest file 'sasl3.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'sasl3.egg-info/SOURCES.txt' copying sasl/saslwrapper.cpp -> build/lib.linux-x86_64-cpython-38/sasl copying sasl/saslwrapper.h -> build/lib.linux-x86_64-cpython-38/sasl copying sasl/saslwrapper.pyx -> build/lib.linux-x86_64-cpython-38/sasl running build_ext building 'sasl.saslwrapper' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/sasl x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isasl -I/usr/include/python3.8 -c sasl/saslwrapper.cpp -o build/temp.linux-x86_64-cpython-38/sasl/saslwrapper.o error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> sasl3
h
so did you run this command already ?
Copy code
apt-get update && apt-get install -y \
        jq \
        librdkafka-dev \
        python3-ldap \
        libldap2-dev \
        libsasl2-dev \
        libsasl2-modules \
        ldap-utils \
m
just now I did
and again tried to run the command
pip install acryl-datahub[hive]==0.8.35
it didn't work
h
oh, can you try the workaround suggested here - https://datahubspace.slack.com/archives/C029A3M079U/p1643995336285159?thread_ts=1643972239.843269&cid=C029A3M079U ?
pip install --upgrade pip wheel setuptools
pip cache purge
m
It worked with
apt-get install python3.x-dev
and
apt-get install build-essential