AttributeError: module 'ibis.impala' has no attribute 'connect'
See original GitHub issueI want to create a impala connect by following the doc. This is my code:
import ibis con = ibis.impala.connect(host='XXX.XXX.XXX.XXX', port=21050, auth_mechanism='PLAIN',user='XXXXX', password='XXXXX')
But running it will raise an error:
AttributeError: module 'ibis.impala' has no attribute 'connect'
Please help!
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (9 by maintainers)
Top Results From Across the Web
module 'ibis.impala' has no attribute 'connect' - Stack Overflow
it seems that you need to do this pip install ibis-framework[impala] , see the link here ibis doc.
Read more >import ibis gives error "AttributeError: type obje... - 293706
Hi All,. When I am trying sample code provided on Cloudera documentation here. It gives me error message saying that Attributes error.
Read more >Introduction to Ibis - Ibis Project
To start using Ibis, you need a Python environment with Ibis installed ... AttributeError: 'StringColumn' object has no attribute 'distinct'.
Read more >Read & Write from Impala - Saagie Help Center
To query Impala with Python you have two options : impyla ... In case you can't connect directly to HDFS through WebHDFS, Ibis...
Read more >ibis.hdfs_connect Example - Program Talk
Learn how to use python api ibis.hdfs_connect. ... not in ['GSSAPI', 'LDAP'])) else: hdfs_client = None return ibis.impala.connect(host=env.impala_host, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I came across the same issue when trying to use ibis for Impala. What has helped is to install the framework in the proper way (see below, it’s also in the documentation, the ‘Impala Quickstart’ section). I suggest outlining in the documentation that there are several options how to install ibis.
pip install ibis-framework[impala]
I had the same issue and fixed it by uninstalling and reinstalling using the command below:
So the no attribute ‘connect’ error is gone, but it throws a new error
So installed
conda install thrift_sasl -c conda-forge
Then I got this error
I tried to force install thrift=0.9.3 but no luck
Is this project still maintained?