windows7 安装 Scrapy
2021-02-09 04:25
标签:scrapy 1.打开cmd.exe输入命令: 2.假设已经安装有python,查看是否已经安装好pip 3.安装scrapy 4.如果运行scapy crawl quotes【quotes是项目名字】报错,就安装pypiwin32 5.再次运行就会成功 windows7 安装 Scrapy 标签:scrapy 原文地址:http://blog.51cto.com/3miao/2086777 C:\Users\admin>python
先看是否已经安装python,没有就安装python,此处省略安装python。
C:\Users\admin>pip
a. 没有就去下载pip
网址如下:https://pypi.python.org/pypi/pip#downloads
下载这个压缩包:pip-9.0.1.tar.gz (md5, pgp)
b. 解压到指定目录,进入pip-9.0.1目录,输入此命令
python setup.py install
c. 如果出现以下错误:
Traceback (most recent call last):
File "setup.py", line 31, in
C:\Users\admin>pip install Scrapy
成功后提示:
Installing collected packages: Scrap
Successfully installed Scrapy-1.5.0
C:\Users\admin>pip install pypiwin32