0
파이썬에서 하이브 데이터웨어 하우스에 연결하려고합니다.python에서 하이브에 연결하기 위해 cloudera centos linux vm에 sasl을 설치할 수 없습니다.
Collecting sasl
Using cached sasl-0.2.1.tar.gz
Requirement already satisfied: six in ./anaconda3/lib/python3.5/site-packages (f
rom sasl)
Building wheels for collected packages: sasl
Running setup.py bdist_wheel for sasl: started
Running setup.py bdist_wheel for sasl: finished with status 'error'
Complete output from command /home/cloudera/anaconda3/bin/python -u -c "import
setuptools, tokenize;__file__='/tmp/pip-build-cu3nu05u/sasl/setup.py';f=getattr
(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close()
;exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpz1j86agrpip-wheel
....
building 'sasl.saslwrapper' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/sasl
gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isasl -I/home/cloudera/anaconda3/include/python3.5m -c
sasl/saslwrapper.cpp -o build/temp.linux-x86_64-3.5/sasl/saslwrapper.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C
/ObjC but not for C++
In file included from sasl/saslwrapper.cpp:254:
sasl/saslwrapper.h:22:23: error: sasl/sasl.h: No such file or directory
In file included from sasl/saslwrapper.cpp:254:
sasl/saslwrapper.h:145: error: ‘sasl_interact_t’ has not been declared
sasl/saslwrapper.h:148: error: ‘sasl_conn_t’ has not been declared
...
----------------------------------------
Running setup.py clean for sasl
Failed to build sasl
Installing collected packages: sasl
Running setup.py install for sasl: started
Running setup.py install for sasl: finished with status 'error'
: 나는 오류 메시지가 아래에있어
$ sudo는 PIP 설치 SASL : 나는 명령 아래 사용하여 내 클라우 데라 VM (CentOS는 6.7)에 SASL (버전 0.2.1)을 설치하려고 누구나 sasl이 Cloudera centos 6.7에 설치 될 수없는 이유를 알고 있습니까?
감사합니다,
ds2000은
파이썬 바인딩뿐만 아니라 실제 sasl을 먼저 설치해야합니다. –
감사합니다. sasl 설치 방법을 자세히 설명해 주시겠습니까? 나는 아래 명령을 시도했다 : $ sudo yum은 sasl 을 설치한다. 그러나 사용 가능한 패키지 sasl이 없다고 말했다. – ds2000
먼저 검색하십시오. –