2017-02-12 36 views
1

我試圖在我的anaconda(python3.5,mac OSX)上安裝xgboost。如何在我的anaconda上運行python3.5安裝xgboost

conda install -c aterrel xgboost=0.4.0 

它看起來像xgboost包不支持python3.5?

UnsatisfiableError: The following specifications were found to be in conflict: 
    - python 3.5* 
    - xgboost 0.4.0* 

真的很感激它,如果任何人都可以幫忙的。我如何使用conda安裝來安裝軟件包?

+0

使用這一個,而不是 - conda install -c creditx xgboost = 0.62' –

+0

@ Vivek庫馬爾我剛試過,它沒有工作。我收到以下消息:PackageNotFoundError:Package not found:''在當前osx-64通道中缺少包: - xgboost 0.62 * – zesla

+0

conda install -c conda-forge py-xgboost。它爲我工作 – Biswa

回答

1

嘗試一步在官方網站上的步驟:

http://xgboost.readthedocs.io/en/latest/build.html

xgboost構建可在Windows上有點棘手,但它是非常簡單的在Mac上。

我會建議你先卸載先前安裝的那個版本不工作。

我也建議您獲取最新版本。 (0.62我相信)

+0

謝謝。有用。 @epattaro – zesla