【问题标题】:Can not find the shared library:libhdfs3.so找不到共享库:libhdfs3.so
【发布时间】:2016-11-06 00:09:13
【问题描述】:

每个人。我尝试将 Dask 与 Distributed + HDFS 一起使用来处理一些文件。当我安装分布式尝试安装 HDFS3 插件时,错误是:

Can not find the shared library:libhdfs3.so

我的环境是 Ubuntu 16 桌面版。我严格按照bewlo,但仍然无法正常工作。希望有人能帮忙!非常感谢

conda install hdfs3 -c conda-forge
echo "deb https://dl.bintray.com/wangzw/deb trusty contrib" | sudo tee /etc/apt/sources.list.d/bintray-wangzw-deb.list
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install libhdfs3 libhdfs3-dev
pip install hdfs3

【问题讨论】:

    标签: anaconda distributed dask blaze


    【解决方案1】:

    如果你没有使用 conda 而你使用的是 pip,你也会遇到这个错误

    找不到共享库:libhdfs3.so

    为确保本页要求https://github.com/ContinuumIO/libhdfs3-downstream/tree/master/libhdfs3

    解决了我的问题。

    如果您使用 pip 进行安装,您应该安装一些软件包:

    【讨论】:

      【解决方案2】:

      由于没有人回答这个问题,我自己想出了解决方案,至少它对我有用。

      conda install libhdfs3
      pip install libhdfs3
      conda install -c clinicalgraphics libgcrypt11
      conda install libprotobuf=2.5
      conda update libhdfs3 
      

      如果仍然无法正常工作,请尝试更新。

      【讨论】:

      • 为什么需要用 conda AND 和 pip 安装 libhdfs3
      猜你喜欢
      • 2018-04-13
      • 2015-11-24
      • 1970-01-01
      • 2022-12-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-13
      相关资源
      最近更新 更多