2010-03-31 41 views
0

請告訴我解決如何解決與捲曲相關的錯誤?

Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
    File "build/bdist.linux-x86_64/egg/pycurl.py", line 7, in <module> 
    File "build/bdist.linux-x86_64/egg/pycurl.py", line 6, in __bootstrap__ 
ImportError: libcurl.so.4: cannot open shared object file: No such file or directory 
+0

Downvoted完全缺乏問題的細節。只發布錯誤信息「請告訴我解決方案」......非常差。 – spender 2010-03-31 12:38:00

+0

從您使用的代碼添加源代碼,否則我們無法幫助您! (閱讀常見問題{http://stackoverflow.com/faq}也會有所幫助) – 2010-03-31 12:38:49

回答

3

你試圖調用捲曲庫,但你沒有捲曲安裝(或它的安裝不正確)。看起來您正在運行Linux,因此只需安裝相應的軟件包(例如,如果您使用的是Ubuntu,則爲sudo apt-get install curl)。

+0

+1 For Sherlock Holmes! – systempuntoout 2010-03-31 12:39:58