kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: cannot import kudu.client
Date Fri, 31 Aug 2018 22:30:11 GMT
Do you happen to have a directory called 'kudu' in your working directory?
Sometimes python gets confused and imports something you didn't expect. The
output of 'kudu.__file__' might give you a clue.

-Todd

On Fri, Aug 31, 2018 at 3:27 PM, veto <veto@myridia.com> wrote:

> i installed and compiled successfully kudo on jessie, stretch and used
> dockers on centos and ubutu.
>
> on all i installed python2.7 and pip in kudu-pyton==1.7.1 and 1.2.0
> successfully.
>
> i could successfully import kudo but it fails to import kudo.client
>
> here is the log:
>
>
> (env) root@boot2docker:~/kudu# python
> Python 2.7.12 (default, Dec  4 2017, 14:50:18)
> [GCC 5.4.0 20160609] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import kudu
> >>> import kudu.client
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named client
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
View raw message