我想安裝一個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] ~ $
嘗試手動istaling沒有pip.download pthelma –
難道這需要做的事實上你正在使用virtualenv? –
您是否在安裝libdickinson.so之後嘗試運行'sudo ldconfig'? – jdehesa