2015-09-25 175 views
1

我一直試圖在我的ubuntu盒子上安裝tsne(https://github.com/danielfrg/tsne)。錯誤,它不斷給我的是:無法在ubuntu上正確安裝pnent安裝tsne?

/usr/bin/ld: cannot find -lcblas 
collect2: ld returned 1 exit status 
command g++ failed with exit status 1 

這裏是我停止安裝點: enter image description here

我有兩個問題:1。 是不是因爲我沒有正確的G ++編譯器? 2.我如何在我的Ubuntu機器上獲得libcblas?

我覺得上述兩個問題都能解決我的問題。我有頁面上提到的所有其他依賴項。

回答

2

您的g++沒問題,您可能錯過了包裝libatlas-base-dev,請用sudo apt-get install安裝。

+0

我實際上做到了這一點,並涉及到與鏈接有關的各種問題,甚至無法正確導入scipy後,我在這裏解決:http://stackoverflow.com/questions/32788593/libatlas-so-3gf-cannot-open -shared對象文件 – mousecoder