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

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

  • 相关阅读:
    What Kind of Friends Are You? ZOJ 3960
    博弈随笔(未完待续)
    Mergeable Stack ZOJ
    LIS ZOJ
    差分约束 HDU
    How far away ? HDU
    wya费用流
    不知道说些什么
    ext大法好啊
    bzoj2348
  • 原文地址:https://www.cnblogs.com/microman/p/6140784.html
Copyright © 2011-2022 走看看