ubuntu安装pyspider遇到的坑

发布时间:2019-09-20 07:31:55编辑:auto阅读(1810)

    apt-get install python python-dev python-distribute python-pip \
    libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml \
    ibssl-dev zlib1g-dev


    安装完上面组件要注意!

    python如果是python3 需要安装python3-dev

    不然会报错
    Failed building wheel for pycurl
    Running setup.py clean for pycurl
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

关键字