Created
March 9, 2010 13:13
-
-
Save lxneng/326553 to your computer and use it in GitHub Desktop.
install twisted, instal scrapy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install twisted | |
$ cd /usr/local/src | |
$ svn co svn://svn.twistedmatrix.com/svn/Twisted/trunk twisted | |
$ cd twisted | |
$ sudo python setup.py install | |
# install libxml2 | |
$ cd /usr/local/src | |
$ wget ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz | |
$ tar zxvf libxml2-2.7.6.tar.gz | |
$ cd libxml2-2.7.6 | |
$ ./configure --prefix=/usr/local/libxml2 --with-python=/usr/local/Cellar/python/2.6.4 | |
$ make | |
$ sudo make install | |
$ cd libxml2-2.7.3/python | |
$ sudo python setup.py install | |
# check the libxml2 | |
$ python -c "import libxml2 | |
$ sudo easy_install -U Scrapy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment