场景:python项目需要用到
pyhive==0.6.4 pyhdfs==0.2.2 thrift==0.13.0 thrift_connector==0.12 thrift_sasl==0.3.0
进项镜像构建时,
报错:error: command 'gcc' failed with exit status 1
解决方法:
1.ubuntu系统: sudo apt-get install python-dev libsasl2-dev gcc
2.centos系统:
场景:python项目需要用到
pyhive==0.6.4 pyhdfs==0.2.2 thrift==0.13.0 thrift_connector==0.12 thrift_sasl==0.3.0
进项镜像构建时,
报错:error: command 'gcc' failed with exit status 1
解决方法:
1.ubuntu系统: sudo apt-get install python-dev libsasl2-dev gcc
2.centos系统: