1. 程式人生 > >Linux下安裝pyspider的詳細過程和相關指令【無總結版】

Linux下安裝pyspider的詳細過程和相關指令【無總結版】

下面是安裝pyspider的詳細過程及相關指令【紀實】
-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------
[

[email protected] fancy]# pip install pyspider
Collecting pyspider
/usr/lib/python2.7/site-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
.
  InsecurePlatformWarning
  Downloading pyspider-0.3.5.tar.gz (94kB)
    100% |████████████████████████████████| 98kB 41kB/s
Collecting Flask>=0.10 (from pyspider)
  Downloading Flask-0.10.1.tar.gz (544kB)
    15% |████▉                           | 81kB 250bytes/s eta 0:30:44
  Hash of the package
https://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz#md5=378670fe456957eb3c27ddaef60b2b24
(from https://pypi.python.org/simple/flask/) (e11c5569eb68d582ce1c85154b9b48c9) doesn't match the expected hash 378670fe456957eb3c27ddaef60b2b24!
Bad md5 hash for package https://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz#md5=378670fe456957eb3c27ddaef60b2b24 (from https://pypi.python.org/simple/flask/)

[[email protected] fancy]# yum install python-devel libffi-devel openssl-devel
Loaded plugins: langpacks
base                                                     | 3.6 kB     00:00
epel                                                     | 4.3 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/7): epel/x86_64/group_gz                                | 169 kB   00:00
(2/7): base/7/x86_64/group_gz                              | 154 kB   00:00
(3/7): epel/x86_64/updateinfo                              | 361 kB   00:00
(4/7): extras/7/x86_64/primary_db                          |  87 kB   00:00
(5/7): epel/x86_64/primary_db                              | 3.5 MB   00:00
(6/7): base/7/x86_64/primary_db                            | 5.1 MB   00:01
(7/7): updates/7/x86_64/primary_db                         | 4.0 MB   00:00
Resolving Dependencies
--> Running transaction check
---> Package libffi-devel.x86_64 0:3.0.13-11.el7 will be installed
---> Package openssl-devel.x86_64 1:1.0.1e-42.el7.9 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-42.el7.9 for package: 1:openssl-devel-1.0.1e-42.el7.9.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.1e-42.el7.9.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-42.el7.9.x86_64
---> Package python-devel.x86_64 0:2.7.5-18.el7_1.1 will be installed
--> Processing Dependency: python(x86-64) = 2.7.5-18.el7_1.1 for package: python-devel-2.7.5-18.el7_1.1.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.12.2-15.el7_1 will be installed
--> Processing Dependency: krb5-libs(x86-64) = 1.12.2-15.el7_1 for package: krb5-devel-1.12.2-15.el7_1.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.12.2-15.el7_1.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.12.2-15.el7_1.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.12.2-15.el7_1.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.12.2-15.el7_1.x86_64
--> Processing Dependency: libkadm5srv_mit.so.9()(64bit) for package: krb5-devel-1.12.2-15.el7_1.x86_64
---> Package openssl-libs.x86_64 1:1.0.1e-34.el7_0.7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-34.el7_0.7 for package: 1:openssl-1.0.1e-34.el7_0.7.x86_64
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package python.x86_64 0:2.7.5-16.el7 will be updated
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Processing Dependency: python-libs(x86-64) = 2.7.5-18.el7_1.1 for package: python-2.7.5-18.el7_1.1.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-13.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.11.3-49.el7 will be updated
---> Package krb5-libs.x86_64 0:1.12.2-15.el7_1 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-7.el7 will be installed
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: libcom_err-devel-1.42.9-7.el7.x86_64
---> Package libselinux-devel.x86_64 0:2.2.2-6.el7 will be installed
--> Processing Dependency: libsepol-devel >= 2.1.9-1 for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.2.2-6.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package openssl.x86_64 1:1.0.1e-34.el7_0.7 will be updated
---> Package openssl.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update
--> Running transaction check
---> Package libcom_err.x86_64 0:1.42.9-4.el7 will be updated
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-4.el7 for package: e2fsprogs-1.42.9-4.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-4.el7 for package: e2fsprogs-libs-1.42.9-4.el7.x86_64
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-4.el7 for package: libss-1.42.9-4.el7.x86_64
---> Package libcom_err.x86_64 0:1.42.9-7.el7 will be an update
---> Package libsepol-devel.x86_64 0:2.1.9-3.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-14.el7 will be installed
--> Processing Dependency: pcre(x86-64) = 8.32-14.el7 for package: pcre-devel-8.32-14.el7.x86_64
--> Running transaction check
---> Package e2fsprogs.x86_64 0:1.42.9-4.el7 will be updated
---> Package e2fsprogs.x86_64 0:1.42.9-7.el7 will be an update
---> Package e2fsprogs-libs.x86_64 0:1.42.9-4.el7 will be updated
---> Package e2fsprogs-libs.x86_64 0:1.42.9-7.el7 will be an update
---> Package libss.x86_64 0:1.42.9-4.el7 will be updated
---> Package libss.x86_64 0:1.42.9-7.el7 will be an update
---> Package pcre.x86_64 0:8.32-12.el7 will be updated
---> Package pcre.x86_64 0:8.32-14.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch        Version                Repository    Size
================================================================================
Installing:
 libffi-devel             x86_64      3.0.13-11.el7          base          22 k
 openssl-devel            x86_64      1:1.0.1e-42.el7.9      updates      1.2 M
 python-devel             x86_64      2.7.5-18.el7_1.1       updates      389 k
Installing for dependencies:
 keyutils-libs-devel      x86_64      1.5.8-3.el7            base          37 k
 krb5-devel               x86_64      1.12.2-15.el7_1        updates      641 k
 libcom_err-devel         x86_64      1.42.9-7.el7           base          30 k
 libselinux-devel         x86_64      2.2.2-6.el7            base         174 k
 libsepol-devel           x86_64      2.1.9-3.el7            base          71 k
 libverto-devel           x86_64      0.2.5-4.el7            base          12 k
 pcre-devel               x86_64      8.32-14.el7            base         477 k
 zlib-devel               x86_64      1.2.7-13.el7           base          49 k
Updating for dependencies:
 e2fsprogs                x86_64      1.42.9-7.el7           base         697 k
 e2fsprogs-libs           x86_64      1.42.9-7.el7           base         165 k
 krb5-libs                x86_64      1.12.2-15.el7_1        updates      826 k
 libcom_err               x86_64      1.42.9-7.el7           base          40 k
 libss                    x86_64      1.42.9-7.el7           base          45 k
 openssl                  x86_64      1:1.0.1e-42.el7.9      updates      711 k
 openssl-libs             x86_64      1:1.0.1e-42.el7.9      updates      949 k
 pcre                     x86_64      8.32-14.el7            base         418 k
 python                   x86_64      2.7.5-18.el7_1.1       updates       86 k
 python-libs              x86_64      2.7.5-18.el7_1.1       updates      5.6 M

Transaction Summary
================================================================================
Install  3 Packages (+ 8 Dependent packages)
Upgrade             ( 10 Dependent packages)

Total download size: 12 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/21): e2fsprogs-libs-1.42.9-7.el7.x86_64.rpm             | 165 kB   00:00
(2/21): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm         |  37 kB   00:00
(3/21): libcom_err-1.42.9-7.el7.x86_64.rpm                 |  40 kB   00:00
(4/21): libcom_err-devel-1.42.9-7.el7.x86_64.rpm           |  30 kB   00:00
(5/21): libffi-devel-3.0.13-11.el7.x86_64.rpm              |  22 kB   00:00
(6/21): libselinux-devel-2.2.2-6.el7.x86_64.rpm            | 174 kB   00:00
(7/21): libsepol-devel-2.1.9-3.el7.x86_64.rpm              |  71 kB   00:00
(8/21): e2fsprogs-1.42.9-7.el7.x86_64.rpm                  | 697 kB   00:00
(9/21): libss-1.42.9-7.el7.x86_64.rpm                      |  45 kB   00:00
(10/21): libverto-devel-0.2.5-4.el7.x86_64.rpm             |  12 kB   00:00
(11/21): krb5-devel-1.12.2-15.el7_1.x86_64.rpm             | 641 kB   00:00
(12/21): openssl-1.0.1e-42.el7.9.x86_64.rpm                | 711 kB   00:00
(13/21): krb5-libs-1.12.2-15.el7_1.x86_64.rpm              | 826 kB   00:00
(14/21): openssl-libs-1.0.1e-42.el7.9.x86_64.rpm           | 949 kB   00:00
(15/21): openssl-devel-1.0.1e-42.el7.9.x86_64.rpm          | 1.2 MB   00:00
(16/21): python-2.7.5-18.el7_1.1.x86_64.rpm                |  86 kB   00:00
(17/21): python-devel-2.7.5-18.el7_1.1.x86_64.rpm          | 389 kB   00:00
(18/21): pcre-devel-8.32-14.el7.x86_64.rpm                 | 477 kB   00:00
(19/21): zlib-devel-1.2.7-13.el7.x86_64.rpm                |  49 kB   00:00
(20/21): pcre-8.32-14.el7.x86_64.rpm                       | 418 kB   00:00
(21/21): python-libs-2.7.5-18.el7_1.1.x86_64.rpm           | 5.6 MB   00:01
--------------------------------------------------------------------------------
Total                                              5.1 MB/s |  12 MB  00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libcom_err-1.42.9-7.el7.x86_64                              1/31
  Updating   : 1:openssl-libs-1.0.1e-42.el7.9.x86_64                       2/31
  Updating   : krb5-libs-1.12.2-15.el7_1.x86_64                            3/31
  Updating   : python-libs-2.7.5-18.el7_1.1.x86_64                         4/31
  Updating   : python-2.7.5-18.el7_1.1.x86_64                              5/31
  Updating   : e2fsprogs-libs-1.42.9-7.el7.x86_64                          6/31
  Updating   : libss-1.42.9-7.el7.x86_64                                   7/31
  Installing : libcom_err-devel-1.42.9-7.el7.x86_64                        8/31
  Installing : zlib-devel-1.2.7-13.el7.x86_64                              9/31
  Updating   : pcre-8.32-14.el7.x86_64                                    10/31
  Installing : pcre-devel-8.32-14.el7.x86_64                              11/31
  Installing : libverto-devel-0.2.5-4.el7.x86_64                          12/31
  Installing : libsepol-devel-2.1.9-3.el7.x86_64                          13/31
  Installing : libselinux-devel-2.2.2-6.el7.x86_64                        14/31
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                     15/31
  Installing : krb5-devel-1.12.2-15.el7_1.x86_64                          16/31
  Installing : 1:openssl-devel-1.0.1e-42.el7.9.x86_64                     17/31
  Updating   : e2fsprogs-1.42.9-7.el7.x86_64                              18/31
  Installing : python-devel-2.7.5-18.el7_1.1.x86_64                       19/31
  Updating   : 1:openssl-1.0.1e-42.el7.9.x86_64                           20/31
  Installing : libffi-devel-3.0.13-11.el7.x86_64                          21/31
  Cleanup    : 1:openssl-1.0.1e-34.el7_0.7.x86_64                         22/31
  Cleanup    : e2fsprogs-1.42.9-4.el7.x86_64                              23/31
  Cleanup    : e2fsprogs-libs-1.42.9-4.el7.x86_64                         24/31
  Cleanup    : libss-1.42.9-4.el7.x86_64                                  25/31
  Cleanup    : python-2.7.5-16.el7.x86_64                                 26/31
  Cleanup    : python-libs-2.7.5-16.el7.x86_64                            27/31
  Cleanup    : 1:openssl-libs-1.0.1e-34.el7_0.7.x86_64                    28/31
  Cleanup    : krb5-libs-1.11.3-49.el7.x86_64                             29/31
  Cleanup    : libcom_err-1.42.9-4.el7.x86_64                             30/31
  Cleanup    : pcre-8.32-12.el7.x86_64                                    31/31
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                      1/31
  Verifying  : libsepol-devel-2.1.9-3.el7.x86_64                           2/31
  Verifying  : python-2.7.5-18.el7_1.1.x86_64                              3/31
  Verifying  : pcre-devel-8.32-14.el7.x86_64                               4/31
  Verifying  : python-devel-2.7.5-18.el7_1.1.x86_64                        5/31
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                           6/31
  Verifying  : 1:openssl-devel-1.0.1e-42.el7.9.x86_64                      7/31
  Verifying  : e2fsprogs-1.42.9-7.el7.x86_64                               8/31
  Verifying  : e2fsprogs-libs-1.42.9-7.el7.x86_64                          9/31
  Verifying  : libselinux-devel-2.2.2-6.el7.x86_64                        10/31
  Verifying  : pcre-8.32-14.el7.x86_64                                    11/31
  Verifying  : zlib-devel-1.2.7-13.el7.x86_64                             12/31
  Verifying  : libcom_err-1.42.9-7.el7.x86_64                             13/31
  Verifying  : 1:openssl-libs-1.0.1e-42.el7.9.x86_64                      14/31
  Verifying  : python-libs-2.7.5-18.el7_1.1.x86_64                        15/31
  Verifying  : libss-1.42.9-7.el7.x86_64                                  16/31
  Verifying  : libffi-devel-3.0.13-11.el7.x86_64                          17/31
  Verifying  : krb5-devel-1.12.2-15.el7_1.x86_64                          18/31
  Verifying  : libcom_err-devel-1.42.9-7.el7.x86_64                       19/31
  Verifying  : krb5-libs-1.12.2-15.el7_1.x86_64                           20/31
  Verifying  : 1:openssl-1.0.1e-42.el7.9.x86_64                           21/31
  Verifying  : e2fsprogs-libs-1.42.9-4.el7.x86_64                         22/31
  Verifying  : e2fsprogs-1.42.9-4.el7.x86_64                              23/31
  Verifying  : python-2.7.5-16.el7.x86_64                                 24/31
  Verifying  : pcre-8.32-12.el7.x86_64                                    25/31
  Verifying  : 1:openssl-1.0.1e-34.el7_0.7.x86_64                         26/31
  Verifying  : python-libs-2.7.5-16.el7.x86_64                            27/31
  Verifying  : 1:openssl-libs-1.0.1e-34.el7_0.7.x86_64                    28/31
  Verifying  : libss-1.42.9-4.el7.x86_64                                  29/31
  Verifying  : krb5-libs-1.11.3-49.el7.x86_64                             30/31
  Verifying  : libcom_err-1.42.9-4.el7.x86_64                             31/31

Installed:
  libffi-devel.x86_64 0:3.0.13-11.el7    openssl-devel.x86_64 1:1.0.1e-42.el7.9
  python-devel.x86_64 0:2.7.5-18.el7_1.1

Dependency Installed:
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7
  krb5-devel.x86_64 0:1.12.2-15.el7_1
  libcom_err-devel.x86_64 0:1.42.9-7.el7
  libselinux-devel.x86_64 0:2.2.2-6.el7
  libsepol-devel.x86_64 0:2.1.9-3.el7
  libverto-devel.x86_64 0:0.2.5-4.el7
  pcre-devel.x86_64 0:8.32-14.el7
  zlib-devel.x86_64 0:1.2.7-13.el7

Dependency Updated:
  e2fsprogs.x86_64 0:1.42.9-7.el7        e2fsprogs-libs.x86_64 0:1.42.9-7.el7
  krb5-libs.x86_64 0:1.12.2-15.el7_1     libcom_err.x86_64 0:1.42.9-7.el7
  libss.x86_64 0:1.42.9-7.el7            openssl.x86_64 1:1.0.1e-42.el7.9
  openssl-libs.x86_64 1:1.0.1e-42.el7.9  pcre.x86_64 0:8.32-14.el7
  python.x86_64 0:2.7.5-18.el7_1.1       python-libs.x86_64 0:2.7.5-18.el7_1.1

Complete!


-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------
[[email protected] fancy]# pip install pyopenssl ndg-httpsclient pyasn1
Collecting pyopenssl
/usr/lib/python2.7/site-packages/pip-7.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading pyOpenSSL-0.15.1-py2.py3-none-any.whl (102kB)
    100% |████████████████████████████████| 106kB 40kB/s
Collecting ndg-httpsclient
  Downloading ndg_httpsclient-0.4.0.tar.gz
Collecting pyasn1
  Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Collecting six>=1.5.2 (from pyopenssl)
  Downloading six-1.9.0-py2.py3-none-any.whl
Collecting cryptography>=0.7 (from pyopenssl)
  Downloading cryptography-1.0.2.tar.gz (332kB)
    100% |████████████████████████████████| 335kB 84kB/s
Collecting idna>=2.0 (from cryptography>=0.7->pyopenssl)
  Downloading idna-2.0-py2.py3-none-any.whl (61kB)
    100% |████████████████████████████████| 61kB 24kB/s
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from cryptography>=0.7->pyopenssl)
Collecting enum34 (from cryptography>=0.7->pyopenssl)
  Downloading enum34-1.0.4.tar.gz
Collecting ipaddress (from cryptography>=0.7->pyopenssl)
  Downloading ipaddress-1.0.14-py27-none-any.whl
Collecting cffi>=1.1.0 (from cryptography>=0.7->pyopenssl)
  Downloading cffi-1.2.1.tar.gz (335kB)
    100% |████████████████████████████████| 335kB 69kB/s
Collecting pycparser (from cffi>=1.1.0->cryptography>=0.7->pyopenssl)
  Downloading pycparser-2.14.tar.gz (223kB)
    100% |████████████████████████████████| 225kB 27kB/s
Installing collected packages: six, idna, pyasn1, enum34, ipaddress, pycparser, cffi, cryptography, pyopenssl, ndg-httpsclient
  Running setup.py install for enum34
  Running setup.py install for pycparser
  Running setup.py install for cffi
  Running setup.py install for cryptography
  Running setup.py install for ndg-httpsclient
Successfully installed cffi-1.2.1 cryptography-1.0.2 enum34-1.0.4 idna-2.0 ipaddress-1.0.14 ndg-httpsclient-0.4.0 pyasn1-0.1.9 pycparser-2.14 pyopenssl-0.15.1 six-1.9.0


-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------

[[email protected] fancy]# easy_install flask
Searching for flask
Reading https://pypi.python.org/simple/flask/
Best match: Flask 0.10.1
Downloading https://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz#md5=378670fe456957eb3c27ddaef60b2b24
Processing Flask-0.10.1.tar.gz
Writing /tmp/easy_install-mx3lJ7/Flask-0.10.1/setup.cfg
Running Flask-0.10.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mx3lJ7/Flask-0.10.1/egg-dist-tmp-6XrKho
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes/.git'
Adding Flask 0.10.1 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg
Processing dependencies for flask
Searching for itsdangerous>=0.21
Reading https://pypi.python.org/simple/itsdangerous/
Best match: itsdangerous 0.24
Downloading https://pypi.python.org/packages/source/i/itsdangerous/itsdangerous-0.24.tar.gz#md5=a3d55aa79369aef5345c036a8a26307f
Processing itsdangerous-0.24.tar.gz
Writing /tmp/easy_install-wRdjWa/itsdangerous-0.24/setup.cfg
Running itsdangerous-0.24/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wRdjWa/itsdangerous-0.24/egg-dist-tmp-1Pf2w7
warning: no previously-included files matching '*' found under directory 'docs/_build'
Adding itsdangerous 0.24 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg
Searching for Jinja2>=2.4
Reading https://pypi.python.org/simple/Jinja2/
Best match: Jinja2 2.8
Downloading https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.8.tar.gz#md5=edb51693fe22c53cee5403775c71a99e
Processing Jinja2-2.8.tar.gz
Writing /tmp/easy_install-If3net/Jinja2-2.8/setup.cfg
Running Jinja2-2.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-If3net/Jinja2-2.8/egg-dist-tmp-PpvQ6F
warning: no files found matching 'run-tests.py'
warning: no files found matching '*' under directory 'custom_fixers'
warning: no files found matching '*' under directory 'jinja2/testsuite/res'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Adding Jinja2 2.8 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/Jinja2-2.8-py2.7.egg
Searching for Werkzeug>=0.7
Reading https://pypi.python.org/simple/Werkzeug/
Best match: Werkzeug 0.10.4
Downloading https://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.10.4.tar.gz#md5=66a488e0ac50a9ec326fe020b3083450
Processing Werkzeug-0.10.4.tar.gz
Writing /tmp/easy_install-VzY7vM/Werkzeug-0.10.4/setup.cfg
Running Werkzeug-0.10.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-VzY7vM/Werkzeug-0.10.4/egg-dist-tmp-7Sw8fg
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes'
warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
Adding Werkzeug 0.10.4 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/Werkzeug-0.10.4-py2.7.egg
Searching for MarkupSafe
Reading https://pypi.python.org/simple/MarkupSafe/
Best match: MarkupSafe 0.23
Downloading https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6e
Processing MarkupSafe-0.23.tar.gz
Writing /tmp/easy_install-LfW_oz/MarkupSafe-0.23/setup.cfg
Running MarkupSafe-0.23/setup.py -q bdist_egg --dist-dir /tmp/easy_install-LfW_oz/MarkupSafe-0.23/egg-dist-tmp-Po4pmR
Adding MarkupSafe 0.23 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-x86_64.egg
Finished processing dependencies for flask


-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------

[[email protected] fancy]# pip install pyspider
Collecting pyspider
  Using cached pyspider-0.3.5.tar.gz
Requirement already satisfied (use --upgrade to upgrade): Flask>=0.10 in /usr/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from pyspider)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.7 in /usr/lib/python2.7/site-packages/Jinja2-2.8-py2.7.egg (from pyspider)
Collecting chardet>=2.2 (from pyspider)
  Downloading chardet-2.3.0.tar.gz (164kB)
    100% |████████████████████████████████| 167kB 61kB/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 37kB/s
Requirement already satisfied (use --upgrade to upgrade): pycurl in /usr/lib64/python2.7/site-packages (from pyspider)
Collecting pyquery (from pyspider)
  Downloading pyquery-1.2.9.zip (45kB)
    100% |████████████████████████████████| 49kB 51kB/s
Collecting requests>=2.2 (from pyspider)
  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
    100% |████████████████████████████████| 471kB 66kB/s
Collecting tornado>=3.2 (from pyspider)
  Downloading tornado-4.2.1.tar.gz (434kB)
    100% |████████████████████████████████| 438kB 74kB/s
Collecting Flask-Login>=0.2.11 (from pyspider)
  Downloading Flask-Login-0.3.1.tar.gz
Collecting u-msgpack-python>=1.6 (from pyspider)
  Downloading u-msgpack-python-2.1.tar.gz
Collecting click>=3.3 (from pyspider)
  Downloading click-5.1-py2.py3-none-any.whl (65kB)
    100% |████████████████████████████████| 65kB 23kB/s
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/site-packages (from pyspider)
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /usr/lib/python2.7/site-packages/Werkzeug-0.10.4-py2.7.egg (from Flask>=0.10->pyspider)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /usr/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg (from Flask>=0.10->pyspider)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/lib/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-x86_64.egg (from Jinja2>=2.7->pyspider)
Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname in /usr/lib/python2.7/site-packages (from tornado>=3.2->pyspider)
Collecting certifi (from tornado>=3.2->pyspider)
  Downloading certifi-2015.9.6.2-py2.py3-none-any.whl (371kB)
    100% |████████████████████████████████| 372kB 102kB/s
Installing collected packages: chardet, cssselect, lxml, pyquery, requests, certifi, tornado, Flask-Login, u-msgpack-python, click, pyspider
  Found existing installation: chardet 2.0.1
    DEPRECATION: Uninstalling a distutils installed project (chardet) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling chardet-2.0.1:
      Successfully uninstalled chardet-2.0.1
  Running setup.py install for chardet
  Running setup.py install for cssselect
  Running setup.py install for lxml
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-dtraef/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5Tyn0R-record/install-record.txt --single-version-externally-managed --compile:
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
      warnings.warn(msg)
    Building lxml version 3.4.4.
    Building without Cython.
    ERROR: /bin/sh: xslt-config: command not found

    ** make sure the development packages of libxml2 and libxslt are installed **

    Using build configuration of libxslt
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml
    creating build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes
    creating build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/src
    creating build/temp.linux-x86_64-2.7/src/lxml
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-build-dtraef/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
    In file included from src/lxml/lxml.etree.c:239:0:
    /tmp/pip-build-dtraef/lxml/src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
     #include "libxml/xmlversion.h"
                                   ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-dtraef/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5Tyn0R-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-dtraef/lxml


-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------
[[email protected] fancy]# pip install lxml
Collecting lxml
  Using cached lxml-3.4.4.tar.gz
Installing collected packages: lxml
  Running setup.py install for lxml
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-kSZkGW/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8vfEUl-record/install-record.txt --single-version-externally-managed --compile:
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
      warnings.warn(msg)
    Building lxml version 3.4.4.
    Building without Cython.
    ERROR: /bin/sh: xslt-config: command not found

    ** make sure the development packages of libxml2 and libxslt are installed **

    Using build configuration of libxslt
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml
    creating build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes
    creating build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html
    copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml
    copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
    creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/src
    creating build/temp.linux-x86_64-2.7/src/lxml
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-build-kSZkGW/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
    In file included from src/lxml/lxml.etree.c:239:0:
    /tmp/pip-build-kSZkGW/lxml/src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
     #include "libxml/xmlversion.h"
                                   ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-kSZkGW/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8vfEUl-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-kSZkGW/lxml

-----------------------------------------------------------------------------------------------------------------------------------------------------
*****************************************************************************************************************************************************
-----------------------------------------------------------------------------------------------------------------------------------------------------
[[email protected] fancy]# yum install gcc
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.2-16.2.el7_0 will be updated
--> Processing Dependency: gcc = 4.8.2-16.2.el7_0 for package: gcc-c++-4.8.2-16.2.el7_0.x86_64
--> Processing Dependency: gcc = 4.8.2-16.2.el7_0 for package: gcc-gfortran-4.8.2-16.2.el7_0.x86_64
--> Processing Dependency: gcc = 4.8.2-16.2.el7_0 for package: libquadmath-devel-4.8.2-16.2.el7_0.x86_64
---> Package gcc.x86_64 0:4.8.3-9.el7 will be an update
--> Processing Dependency: libgomp = 4.8.3-9.el7 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: cpp = 4.8.3-9.el7 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.3-9.el7 for package: gcc-4.8.3-9.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package cpp.x86_64 0:4.8.3-9.el7 will be an update
---> Package gcc-c++.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package gcc-c++.x86_64 0:4.8.3-9.el7 will be an update
--> Processing Dependency: libstdc++-devel = 4.8.3-9.el7 for package: gcc-c++-4.8.3-9.el7.x86_64
--> Processing Dependency: libstdc++ = 4.8.3-9.el7 for package: gcc-c++-4.8.3-9.el7.x86_64
---> Package gcc-gfortran.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package gcc-gfortran.x86_64 0:4.8.3-9.el7 will be an update
--> Processing Dependency: libquadmath = 4.8.3-9.el7 for package: gcc-gfortran-4.8.3-9.el7.x86_64
--> Processing Dependency: libgfortran = 4.8.3-9.el7 for package: gcc-gfortran-4.8.3-9.el7.x86_64
---> Package libgcc.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libgcc.x86_64 0:4.8.3-9.el7 will be an update
---> Package libgomp.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libgomp.x86_64 0:4.8.3-9.el7 will be an update
---> Package libquadmath-devel.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libquadmath-devel.x86_64 0:4.8.3-9.el7 will be an update
--> Running transaction check
---> Package libgfortran.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libgfortran.x86_64 0:4.8.3-9.el7 will be an update
---> Package libquadmath.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libquadmath.x86_64 0:4.8.3-9.el7 will be an update
---> Package libstdc++.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libstdc++.x86_64 0:4.8.3-9.el7 will be an update
---> Package libstdc++-devel.x86_64 0:4.8.2-16.2.el7_0 will be updated
---> Package libstdc++-devel.x86_64 0:4.8.3-9.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
 Package                   Arch           Version             Repository    Size
=================================================================================
Updating:
 gcc                       x86_64         4.8.3-9.el7         base          16 M
Updating for dependencies:
 cpp                       x86_64         4.8.3-9.el7         base         5.9 M
 gcc-c++                   x86_64         4.8.3-9.el7         base         7.2 M
 gcc-gfortran              x86_64         4.8.3-9.el7         base         6.6 M
 libgcc                    x86_64         4.8.3-9.el7         base          92 k
 libgfortran               x86_64         4.8.3-9.el7         base         290 k
 libgomp                   x86_64         4.8.3-9.el7         base         127 k
 libquadmath               x86_64         4.8.3-9.el7         base         179 k
 libquadmath-devel         x86_64         4.8.3-9.el7         base          42 k
 libstdc++                 x86_64         4.8.3-9.el7         base         294 k
 libstdc++-devel           x86_64         4.8.3-9.el7         base         1.5 M

Transaction Summary
=================================================================================
Upgrade  1 Package (+10 Dependent packages)

Total download size: 38 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): cpp-4.8.3-9.el7.x86_64.rpm                        | 5.9 MB  00:00:01
(2/11): gcc-c++-4.8.3-9.el7.x86_64.rpm                    | 7.2 MB  00:00:02
(3/11): gcc-4.8.3-9.el7.x86_64.rpm                        |  16 MB  00:00:05
(4/11): libgcc-4.8.3-9.el7.x86_64.rpm                     |  92 kB  00:00:00
(5/11): libgfortran-4.8.3-9.el7.x86_64.rpm                | 290 kB  00:00:00
(6/11): libgomp-4.8.3-9.el7.x86_64.rpm                    | 127 kB  00:00:00
(7/11): libquadmath-4.8.3-9.el7.x86_64.rpm                | 179 kB  00:00:00
(8/11): libquadmath-devel-4.8.3-9.el7.x86_64.rpm          |  42 kB  00:00:00
(9/11): gcc-gfortran-4.8.3-9.el7.x86_64.rpm               | 6.6 MB  00:00:01
(10/11): libstdc++-4.8.3-9.el7.x86_64.rpm                 | 294 kB  00:00:00
(11/11): libstdc++-devel-4.8.3-9.el7.x86_64.rpm           | 1.5 MB  00:00:00
---------------------------------------------------------------------------------
Total                                               6.0 MB/s |  38 MB  00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libquadmath-4.8.3-9.el7.x86_64                               1/22
  Updating   : libgcc-4.8.3-9.el7.x86_64                                    2/22
  Updating   : libstdc++-4.8.3-9.el7.x86_64                                 3/22
  Updating   : libstdc++-devel-4.8.3-9.el7.x86_64                           4/22
  Updating   : libgfortran-4.8.3-9.el7.x86_64                               5/22
  Updating   : cpp-4.8.3-9.el7.x86_64                                       6/22
  Updating   : libgomp-4.8.3-9.el7.x86_64                                   7/22
  Updating   : gcc-4.8.3-9.el7.x86_64                                       8/22
  Updating   : libquadmath-devel-4.8.3-9.el7.x86_64                         9/22
  Updating   : gcc-gfortran-4.8.3-9.el7.x86_64                             10/22
  Updating   : gcc-c++-4.8.3-9.el7.x86_64                                  11/22
  Cleanup    : gcc-c++-4.8.2-16.2.el7_0.x86_64                             12/22
  Cleanup    : gcc-gfortran-4.8.2-16.2.el7_0.x86_64                        13/22
  Cleanup    : libquadmath-devel-4.8.2-16.2.el7_0.x86_64                   14/22
  Cleanup    : libstdc++-devel-4.8.2-16.2.el7_0.x86_64                     15/22
  Cleanup    : gcc-4.8.2-16.2.el7_0.x86_64                                 16/22
  Cleanup    : libgfortran-4.8.2-16.2.el7_0.x86_64                         17/22
  Cleanup    : libstdc++-4.8.2-16.2.el7_0.x86_64                           18/22
  Cleanup    : libgcc-4.8.2-16.2.el7_0.x86_64                              19/22
  Cleanup    : libquadmath-4.8.2-16.2.el7_0.x86_64                         20/22
  Cleanup    : cpp-4.8.2-16.2.el7_0.x86_64                                 21/22
  Cleanup    : libgomp-4.8.2-16.2.el7_0.x86_64                             22/22
  Verifying  : libgfortran-4.8.3-9.el7.x86_64                               1/22
  Verifying  : libgomp-4.8.3-9.el7.x86_64                                   2/22
  Verifying  : libstdc++-devel-4.8.3-9.el7.x86_64                           3/22
  Verifying  : gcc-gfortran-4.8.3-9.el7.x86_64                              4/22
  Verifying  : libquadmath-devel-4.8.3-9.el7.x86_64                         5/22
  Verifying  : cpp-4.8.3-9.el7.x86_64                                       6/22
  Verifying  : gcc-c++-4.8.3-9.el7.x86_64                                   7/22
  Verifying  : libgcc-4.8.3-9.el7.x86_64                                    8/22
  Verifying  : gcc-4.8.3-9.el7.x86_