pyspider 安装报错: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vXo1W3/pycurl

238 views
Skip to first unread message

chen

unread,
May 21, 2015, 10:34:11 PM5/21/15
to pyspide...@googlegroups.com

您好,在执行:pip install pyspider 时报错。

请教大牛是什么问题

 

日志信息如下:

[root@scuisd-db python]# pip install pyspider

Collecting pyspider

  Downloading pyspider-0.3.4.tar.gz (91kB)

    100% |████████████████████████████████| 94kB 269kB/s

Collecting Flask>=0.10 (from pyspider)

  Downloading Flask-0.10.1.tar.gz (544kB)

    100% |████████████████████████████████| 544kB 115kB/s

Collecting Jinja2>=2.7 (from pyspider)

  Downloading Jinja2-2.7.3.tar.gz (378kB)

    100% |████████████████████████████████| 380kB 92kB/s

Collecting chardet>=2.2 (from pyspider)

  Downloading chardet-2.3.0.tar.gz (164kB)

    100% |████████████████████████████████| 167kB 45kB/s

Collecting cssselect>=0.9 (from pyspider)

  Downloading cssselect-0.9.1.tar.gz

Collecting lxml (from pyspider)

  Downloading lxml-3.4.4.tar.gz (3.5MB)

    100% |████████████████████████████████| 3.5MB 43kB/s

Collecting pycurl (from pyspider)

  Downloading pycurl-7.19.5.1.tar.gz (142kB)

    100% |████████████████████████████████| 143kB 123kB/s

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-build-vXo1W3/pycurl/setup.py", line 634, in <module>

        ext = get_extension(split_extension_source=split_extension_source)

      File "/tmp/pip-build-vXo1W3/pycurl/setup.py", line 392, in get_extension

        ext_config = ExtensionConfiguration()

      File "/tmp/pip-build-vXo1W3/pycurl/setup.py", line 65, in __init__

        self.configure()

      File "/tmp/pip-build-vXo1W3/pycurl/setup.py", line 100, in configure_unix

        raise ConfigurationError(msg)

    __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory

   

    ----------------------------------------

    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vXo1W3/pycurl

Roy Binux

unread,
May 21, 2015, 10:37:57 PM5/21/15
to chen, pyspide...@googlegroups.com
没有安装 libcurl 等二进制依赖

--
You received this message because you are subscribed to the Google Groups "pyspider-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyspider-user...@googlegroups.com.
To post to this group, send email to pyspide...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyspider-users/001101d09437%24aa6fa520%24ff4eef60%24%40163.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages