win环境安装python爬虫框架scrapy
#官网下载python for windows #https://www.python.org/downloads/ #安装后在“计算机->属性->高级系统设置->环境变量->系统变量 ” #在系统变量里找到PATH,双击PATH,在结尾加上 #E:\Users\username\AppData\Local\Programs\Python\Python35-32; #E:\Users\username\AppData\Local\Programs\Python\Python35-32\Scripts #安装scrapy pip install scrapy #安装wheel pip install wheel #手动下载lxml对应版本 #http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml #在cmd里cd到lxml文件的目录 pip install lxml-3.6.0-cp35-cp35m-win32.whl #最后继续安装scrapy pip install scrapy
pip install twisted-win