zoukankan      html  css  js  c++  java
  • ubuntu系统下安装pyspider:安装命令集合。

    本篇内容的前提是你已安装好python 3.5。在ubuntu系统中安装pyspider最大的困难是要依赖组件经常出错,特别是pycurl,但把对应的依赖组件安装好,简单了。下面直接上代码,所有的依赖我都实践过。

    sudo apt-get install python python-dev python-distribute python-pip libcurl4-openssl-dev libxml2-dev libxslt1-dev 
    sudo apt-get install libcurl4-gnutls-dev zlib1g-dev libevent-dev python-pycurl-dbg libcurl4-gnutls-dev python-pycurl-doc libcurl3-gnutls libc6
    sudo apt-get install libpq-dev libldap2-dev libsasl2-dev
    pip install lxml
    pip install pycurl
    sudo apt-get install phantomjs
    pip install pyspider

    前面三个命令都是安装相关的依赖组件。

  • 相关阅读:
    HTML的<head>中的内容总结
    毕业设计
    win7中protel99添加元件库
    E题
    D 题
    C 题 KMP中next[]问题
    B题 Sort the Array
    A题
    CSU1350 To Add which?
    CodeForce 448C 木片填涂问题
  • 原文地址:https://www.cnblogs.com/microman/p/6140784.html
Copyright © 2011-2022 走看看