[ https://issues.apache.org/jira/browse/KUDU-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748298#comment-16748298 ]
Grant Henke commented on KUDU-2332: ----------------------------------- Was this ever resolved? There is a newer version that could be tried. > Error when importing kudu package in Python Anaconda distribution > ----------------------------------------------------------------- > > Key: KUDU-2332 > URL: https://issues.apache.org/jira/browse/KUDU-2332 > Project: Kudu > Issue Type: Bug > Components: python > Affects Versions: 1.2.0 > Environment: ProductName: Mac OS X > ProductVersion: 10.13.3 > BuildVersion: 17D102 > Anaconda Python distribution > Reporter: Michał Sznajder > Priority: Minor > Attachments: error.png > > > I tried to install Kudu on my local machine: > ProductName: Mac OS X > ProductVersion: 10.13.3 > BuildVersion: 17D102 > I followed all the steps to build Kudu 1.6 from source: > 1. brew install autoconf automake cmake libtool pkg-config pstree > 2. git clone https://github.com/apache/incubator-kudu kudu > 2. cd kudu > 3. PKG_CONFIG_PATH=/usr/local/Cellar/openssl/1.0.2n/lib/pkgconfig > thirdparty/build-if-necessary.sh > 4. mkdir -p build/release > 5. cd build/release > 6. PKG_CONFIG_PATH=/usr/local/Cellar/openssl/1.0.2n/lib/pkgconfig > ../../thirdparty/installed/common/bin/cmake \ > -DCMAKE_BUILD_TYPE=release \ > -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \ > ../.. > 7. make -j4 > 8. sudo make install > This resulted with following libraries installed: > > /usr/local/include/kudu > /usr/local/include/kudu/util/kudu_export.h > /usr/local/lib/libkudu_client.0.1.0.dylib > /usr/local/lib/libkudu_client.dylib > /usr/local/lib/libkudu_client.0.dylib > /usr/local/share/kuduClient > /usr/local/share/kuduClient/cmake/kuduClientTargets.cmake > /usr/local/share/kuduClient/cmake/kuduClientTargets-release.cmake > /usr/local/share/kuduClient/cmake/kuduClientConfig.cmake > /usr/local/share/doc/kuduClient > > Then I followed steps to instal kudu-python package using pip: > 1. clean pip cache to make sure it is clean > 2. pip install -v kudu-python > Then after calling: > import kudu > I got error like in the attachment "error.png". > As first line of this screen states it was Anaconda Python distribution. > After removing Anaconda Python and installing Python using Homebrew and again > following above steps - all worked. > My conclusion: there is some kind of issue happening between Anaconda Python > and kudu-python package. > Some more details are also in > [https://getkudu.slack.com|https://getkudu.slack.com/] slack channel on > #kudu-general channel. > I am reachable there under msznajder nickname. > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)