python3 scrapy 爬虫 环境 搭建

本文详细介绍如何使用Python3.7在Windows环境下安装Scrapy框架。包括创建虚拟环境、激活及退出虚拟环境,以及安装一系列依赖库如Twisted、lxml、PyDispatcher等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

mkvirtualenv -p C:\Python37\python.exe py372_64_scrapy

workon py372_64_scrapy

deactivate

pip install scrapy

Successfully built protego PyDispatcher
Installing collected packages: pycparser, cffi, six, cryptography, protego, cssselect, w3lib, lxml, parsel, attrs, pyasn1, pyasn1-modules, service-identity, zope.interface, PyHamcrest, incremental, Au
tomat, idna, hyperlink, constantly, Twisted, queuelib, pyOpenSSL, PyDispatcher, scrapy
Successfully installed Automat-20.2.0 PyDispatcher-2.0.5 PyHamcrest-2.0.2 Twisted-20.3.0 attrs-19.3.0 cffi-1.14.0 constantly-15.1.0 cryptography-2.9.2 cssselect-1.1.0 hyperlink-19.0.0 idna-2.9 increme
ntal-17.5.0 lxml-4.5.0 parsel-1.6.0 protego-0.1.16 pyOpenSSL-19.1.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 queuelib-1.5.0 scrapy-2.1.0 service-identity-18.1.0 six-1.14.0 w3lib-1.22.0 zope.in
terface-5.1.0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值