在windows下安装scrapy
来源:互联网 发布:java nio和io的区别 编辑:程序博客网 时间:2024/06/05 16:36
在Windows下安装scrapy是比较麻烦的,具体的安装步骤如下:
1: pip install wheel
2: pip install lxml
3: pip install PyOpenssl
4:安装microsoft visual c++ build tools,下载地址:http://landinghub.visualstudio.com/visual-cpp-build-tools
4: pip install twisted
5: pip install pywin32
6: pip install scrapy
在命令行中输入scrapy,出现如下界面,则表示安装成功。
在anaconda平台下的安装-推荐使用
conda intall scrapy
anconda平台会自动安装先关依赖库,特别方便。
测试是否安装成功
在命令行中,首先创建项目
scrapy startproject hello
进入项目目录
cd hello
生成爬虫
scrapy genspider baidu www.baidu.com
爬取百度
scrapy crawl baidu
如果命令都可以正常运行,则证明安装成功。
阅读全文
1 0
- scrapy在windows下安装
- 在Windows下安装scrapy
- 在windows下安装scrapy
- 在Windows下安装Scrapy
- Python3在Windows下安装scrapy
- Python3在Windows下安装Scrapy
- 在Windows下 python2.7安装scrapy
- windows下安装scrapy
- Windows下安装Scrapy
- windows下 scrapy 安装
- windows下安装Scrapy
- Windows下安装scrapy
- Windows下Scrapy安装
- windows下scrapy安装
- Windows下安装Scrapy
- windows下安装scrapy
- windows下安装scrapy
- windows下Scrapy安装
- Maven项目下载sqljdbc4-4.0.jar失败
- 学习计算机的书
- MySQL的语句执行顺序
- Docker 入门
- The POM for XXX is invalid, transitive dependencies (if any) will not be available
- 在windows下安装scrapy
- 游戏测试同步于Android设备的解决方案
- Samba案例分析
- Missing artifact jdk.tools:jdk.tools:jar:1.8
- 多线程 Callable Runnable 与Future
- 基于 SquashFS 构建 Linux 可读写文件系统
- 浅析 Linux 初始化 init 系统 systemd
- bzoj3172: [Tjoi2013]单词
- bzoj1026: [SCOI2009]windy数