如何解决此卷曲相关错误?

时间:2010-03-31 12:34:19

标签: python pycurl

请告诉我解决方案

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

1 个答案:

答案 0 :(得分:3)

您正在尝试调用cURL库,但未安装curl(或者未正确安装)。看起来你正在运行Linux,所以只需安装相应的软件包(例如,如果你在Ubuntu上,就sudo apt-get install curl)。