Python Connection Impala (install Impyla)

Source: Internet
Author: User

The relevant environment is as follows:


Win7 64-bit

Follow the installation steps in the official website Https://

1. Pip Install Six

2. Pip Install Bit_array

3. Pip Install Thriftpy

# # Thrift (on Python 2.x) or thriftpy (on Python 3.x)

4. Pip Install SASL-0.2.1-CP34-CP34M-WIN_AMD64.WHL (centos: sudo yum install gcc-c++ python-devel.x86_64 Cyrus-sasl-devel.x86_64 then pip install SASL)

5. Pip Install THRIFT_SASL

6. Pip Install BITARRAY-0.8.1-CP34-NONE-WIN_AMD64.WHL

7. Pip Install Impyla

Description:. whl file to the appropriate Python and Windows versions

After installation will be error, such as:

Follow the prompts to locate the appropriate file for the following modifications:


Try connecting to your Hadoop.

 from Import  = connect (host='', port=21050,timeout=3600)

Python Connection Impala (install Impyla)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.