gpt4 book ai didi

python - 如何获取Scrapy 0.12版本?

转载 作者:行者123 更新时间:2023-12-01 05:58:57 24 4
gpt4 key购买 nike

Scrapy 似乎不允许安装以前的版本。

列出的方法是:

easy_install -U Scrapy

和:

pip install Scrapy

这两种方式都只是下载最新版本的 Scrapy,这是我不想要的。如何让 scrapy 下载 0.12 版本?

最佳答案

尝试手动安装:

vic@wic:~$ 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.

vic@wic:~$ cd scrapy/

vic@wic:~/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

vic@wic:~/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

vic@wic:~/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'

vic@wic:~/scrapy$ sudo python setup.py install

关于python - 如何获取Scrapy 0.12版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11369313/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com