Python-Scrapy框架安裝

首先下載pywin3二、Twisted的whl包python

下載地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/scrapy

 

經過命令:pip install xxxx 安裝如下文件xml

  • 安裝lxml==3.7.2
  • 安裝zope.interface
  • 安裝pywin32-221-cp36-cp36m-win_amd64.whl
  • 安裝Twisted-17.1.0-cp36-cp36m-win_amd64.whl
  • 以後安裝ez_setup.py,網址:https://pypi.python.org/pypi/ez_setup,解壓後把ez_setup.py放到python安裝目錄下,按shift+右鍵進入cmd,輸入python ez_setup.py,以後進入Scripts目錄點擊easy_install.exe和easy_install-3.6.exe。
  • 在cmd中輸入easy_install pyopenssl

最後pip3 install scrapyip

相關文章
相關標籤/搜索