2014-05-09 78 views
1

我想安裝一個Python軟件包,但得到一個依賴性錯誤,但我確信我已經滿足了這個要求。我不能安裝python軟件包,雖然需要的庫存在

它說它無法找到libdickinson.so,但該庫已安裝(系統範圍),其文件位於/user/local/lib/。我究竟做錯了什麼?

這是我的控制檯輸出:

(iwidget)[email protected] ~ $ pip install pthelma 
Downloading/unpacking pthelma 
    Downloading pthelma-0.7.2.tar.gz (50kB): 50kB downloaded 
    Running setup.py egg_info for package pthelma 
    libdickinson.so: cannot open shared object file: No such file or directory 

    Please make sure you have installed dickinson 
    (see http://dickinson.readthedocs.org/). 
    Complete output from command python setup.py egg_info: 
    libdickinson.so: cannot open shared object file: No such file or directory 



Please make sure you have installed dickinson 

(see http://dickinson.readthedocs.org/). 

---------------------------------------- 
Command python setup.py egg_info failed with error code 1 in /home/chris/.virtualenvs/iwidget/build/pthelma 
Storing complete log in /home/chris/.pip/pip.log 
(iwidget)[email protected] ~ $ ls /usr/local/lib/ 
libdickinson.a   libdickinson.la  libdickinson.so  libdickinson.so.0  libdickinson.so.0.0.0 python2.7/    python3.2/    site_ruby/ 
(iwidget)[email protected] ~ $ 
+0

嘗試手動istaling沒有pip.download pthelma –

+0

難道這需要做的事實上你正在使用virtualenv? –

+1

您是否在安裝libdickinson.so之後嘗試運行'sudo ldconfig'? – jdehesa

回答

1

嘗試自己建設,並從GIT回購安裝:

git clone https://github.com/openmeteo/pthelma.git 

此外,嘗試運行它作爲超級用戶(PIP)。

sudo pip install pthelma 

看起來它無法看到libdickinson.so文件,但如果你相信它的安裝和設置正確就可以了,正如我所說,嘗試克隆源,建立這種方式。

+0

我會試着像SU一樣首先運行,就好像它的工作原理一樣,你沒有GIT repo的混亂。 – Ruby

+0

'sudo pip install pthelma'我得到完全相同的錯誤。將嘗試克隆它。 – xpanta

相關問題