Missing dependency on TCLIService
See original GitHub issueHello,
I’m getting the following warning when launching redash:
[2015-08-19 12:49:45,978][PID:17][WARNING][redash.query_runner.hive_ds] Missing dependencies. Please install pyhive.
[2015-08-19 12:49:45,979][PID:17][WARNING][redash.query_runner.hive_ds] You can use pip: pip install pyhive
pyhive
is installed, but looking at the redash code these seem to be due to the following ImportError
Python 2.7.10 (default, Jul 18 2015, 00:45:22)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyhive import hive
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/pyhive/hive.py", line 10, in <module>
from TCLIService import TCLIService
ImportError: No module named TCLIService
Any idea of how I might solve it? I’m not familiar with hive
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Resolving missing dependency error messages during an ...
If a dependency is missing from the target system, an error message is displayed. You can either stop the import or continue with...
Read more >Missing dependency for method when doing a file upload rest ...
In my case the problem were different library versions of jersey-bundle and com.sun.jersey.contribs ; after settign both to the same version ...
Read more >missing-dependency-on-libc - Lintian - Debian
missing -dependency-on-libc. The listed file appears to be linked against the C library, but the package doesn't depend on the C library package....
Read more >Missing Dependencies - Require Table that has been...
I want to import my solution to another environment, but always getting Missing Dependencies. it says required table ecom_siginingcontract ...
Read more >Solve some problems encountered when using Hive-JDBC
NoClassDefFoundError: org/apache/hive/service/cli/thrift/TCLIService$Iface ... So looking at the imported dependency packages, I found that there are two ...
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
@arikfr we were able to resolve the versioning issue mentioned by @vbajaria
Basically the problem was with python-pip on Ubuntu 14.04 being an old version with different behavior (
python-pip=1.5.4-1ubuntu4
), which prevented it from uninstalling pyhive (it was probably looking forinstalled-files.txt
in the egg, which doesn’t exist). After bumping pip to version 9.0.1, the issue went away.What we saw when doing manual package install, which lead us to the conclusion that there was a pip issue:
@georgeliaw thanks for the follow up and writeup. 👍