2012-07-06 68 views
1

Scrapy似乎不允许安装以前的版本。如何获得Scrapy版本0.12?

列出的方法是:

easy_install -U Scrapy 

和:

pip install Scrapy 

这两种方法只需要下载Scrapy,这是我不希望的最新版本。我如何获得scrapy下载0.12版本?

回答

2

尝试手动安装:

[email protected]:~$ git clone git://github.com/scrapy/scrapy.git 
Cloning into 'scrapy'... 
remote: Counting objects: 24639, done. 
remote: Compressing objects: 100% (15949/15949), done. 
remote: Total 24639 (delta 8402), reused 24317 (delta 8158) 
Receiving objects: 100% (24639/24639), 10.73 MiB | 639 KiB/s, done. 
Resolving deltas: 100% (8402/8402), done. 

[email protected]:~$ cd scrapy/ 

[email protected]:~/scrapy$ git tag 
0.10 
0.10-rc1 
0.10.1 
0.10.2 
0.10.3 
0.14.0 
0.14.1 
0.14.2 
0.14.3 
0.14.4 
0.7 
0.7-rc1 
0.8 
0.9 
0.9-rc1 

[email protected]:~/scrapy$ git branch -a 
* master 
    remotes/origin/0.12 
    remotes/origin/0.14                                    
    remotes/origin/HEAD -> origin/master                                
    remotes/origin/master                                    
    remotes/origin/singleton_removal                                 

[email protected]:~/scrapy$ git checkout 0.12                                 
Branch 0.12 set up to track remote branch 0.12 from origin. 
Switched to a new branch '0.12' 

[email protected]:~/scrapy$ sudo python setup.py install