2016-04-17 9 views
1

私はpydoopをインストールするのに苦労しています。私はこのページの指示に従った。 http://crs4.github.io/pydoop/installation.htmlPydoopのインストール(クラスパスの問題)? [SOVLED]

私がpip install pydoopを実行したとき、端末は驚くほど多くのエラーを出力しましたが、主な問題を特定できませんでした。だから私は、ホイールを構築することができなかった

Compiling Java classes 
    src/v2/it/crs4/pydoop/pipes/Application.java:33: error: package org.apache.commons.logging does not exist 
    import org.apache.commons.logging.Log; 
          ^
    src/v2/it/crs4/pydoop/pipes/Application.java:34: error: package org.apache.commons.logging does not exist 
    import org.apache.commons.logging.LogFactory; 
          ^
    src/v2/it/crs4/pydoop/pipes/Application.java:35: error: package org.apache.hadoop.fs does not exist 
    import org.apache.hadoop.fs.FSDataOutputStream; 

src/v2/it/crs4/pydoop/pipes/BinaryProtocol.java:61: error: cannot find symbol 
private DataOutputBuffer buffer = new DataOutputBuffer(); 
     ^
symbol: class DataOutputBuffer 
location: class BinaryProtocol<K1,V1,K2,V2> 
where K1,V1,K2,V2 are type-variables: 
    K1 declared in class BinaryProtocol 
    V1 declared in class BinaryProtocol 
    K2 declared in class BinaryProtocol 
    V2 declared in class BinaryProtocol 
    src/v2/it/crs4/pydoop/pipes/BinaryProtocol.java:62: error: cannot find symbol 
private static final Log LOG = 

:私は以下のエラーの一部を貼り付けました。

Failed building wheel for pydoop 
    Running setup.py clean for pydoop 
Failed to build pydoop 
Installing collected packages: pydoop 
    Running setup.py install for pydoop ... error 

答えて

1

SOLVED プログラムが自動的に割り当てたパスが正しくありません。 だから設定

HADOOP_HOME = /usr/local/Cellar/hadoop/2.7.2/libexec