惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Last Watchdog
The Last Watchdog
AI
AI
Recent Announcements
Recent Announcements
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
J
Java Code Geeks
TaoSecurity Blog
TaoSecurity Blog
L
LangChain Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Microsoft Security Blog
Microsoft Security Blog
量子位
T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园 - Franky
博客园 - 聂微东
L
LINUX DO - 最新话题
Security Archives - TechRepublic
Security Archives - TechRepublic
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
C
Check Point Blog
宝玉的分享
宝玉的分享
G
Google Developers Blog
Spread Privacy
Spread Privacy
Cloudbric
Cloudbric
SecWiki News
SecWiki News
有赞技术团队
有赞技术团队
www.infosecurity-magazine.com
www.infosecurity-magazine.com
W
WeLiveSecurity
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
V
Vulnerabilities – Threatpost
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
P
Privacy & Cybersecurity Law Blog
P
Palo Alto Networks Blog
H
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cisco Talos Blog
Cisco Talos Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
A
About on SuperTechFans
N
Netflix TechBlog - Medium
罗磊的独立博客
月光博客
月光博客

博客园 - 毕海

golang的cgo支持调用C++的方法 [原]zeromq框架测试报告 [转]linux下查看进程内存使用情况 程序员必读系列 python 不同版本下载资源 提示“load System.Core failed” phpwind主要表结构的研究随笔[1] [转]Python快速教程 [转]80个Python经典资料(教程+源码+工具)汇总——下载目录 [转]一位大牛整理的python资源 [转]PyInstaller2的信息文件Version的生成 [转]使用PyInstaller2将Python脚本转化为可执行文件(下-进阶使用) [转]使用PyInstaller2将Python脚本转化为可执行文件(上-安装部分) [转]使用PyInstaller2将Python脚本转化为可执行文件(中-使用部分) [转]Nginx安装 [转]Centos 5.5 卸载与安装java1.7环境 mongodb协议透传 mongodb的监控与性能优化 记一次MongoDB性能问题
在win8 x64上安装Scrapy
毕海 · 2013-05-23 · via 博客园 - 毕海
Notes
  • Scrapy must be installed with Python 2.5, 2.6, or 2.7 (NOT 3.x)
  • Python 2.7 (and 3.2) do not load the correct 32-bit compatible Windows Registry Keys
Install Procedure
  1. Download the Python 2.7.2 Windows Installer from http://www.python.org/getit/
  2. Go to the Search programs and filesbar at the bottom of the start menu and type "regedit" and hit enter
  3. Using the left pane navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Python" & click on it (highlighting it in blue)
    1. With the branch selected go to File --> Export
    2. Save the file somewhere you can get to it easily
    3. Open the file in your favorite text editor
    4. Insert "\Wow6432Node" inbetween "SOFTWARE" and "\Python" on every line (an easy way to do this is to do a find and replace with "SOFTWARE" in the Find Field and "SOFTWARE\Wow6432Node" in the Replace Field
    5. Save the file
    6. Navigate to where you saved said file and double click on it to initiate a Registry Modification
  4. Now download the Scrapy 0.14 Windows installer from http://pypi.python.org/pypi/Scrapy
  5. Double click the Scrapy Installer and everything should work fine.
  6. Download and install Twisted 11.1.0 for Python 2.7 64 bit from http://twistedmatrix.com/trac/wiki/Downloads
  7. Download and install Zope.Interface
    1. Download distribute_setup.py from http://python-distribute.org/distribute_setup.py (right click & save), then double click it to install
    2. Download zope.interface-3.8.0-py2.6-win-amd64.egg fromhttp://pypi.python.org/pypi/zope.interface/3.8.0#downloads
    3. Open a command prompt (type "cmd" into the same Search programs and filespane as above) and navigate to your Python Scripts folder (something like "cd C:\Python27\Scripts")
    4. type "easy_install C:\Downloads\zope.interface-3.8.0-py2.6-win-amd64.egg" (replacing C:\Downloads\ with wherever you downloaded Zope.Interface to) and hit enter
  8. Download and install lxml-2.3.2.win-amd64-py2.7.‌exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/
  9. Download and install egenix-pyopenssl-0.13.0_1.0.0g_1.win-amd64-py2.7.msi fromhttp://www.egenix.com/cryptodownload/?file=egenix-pyopenssl-0.13.0_1.0.0g_1.win-amd64-py2.7.msi
    • When it ask you to navigate to a Python 2.6 Directory, just point it to your Python 2.7 Directory (C:\Python27 by default)
  10. Install w3lib
    1. Open a command prompt (Start -> Search programs and files-> "cmd")
    2. Navigate to your Python Scripts Folder (nominally "C:\Python27\Scripts")
    3. Type "easy_install w3lib" and hit enter
  11. Now we just need to add the Python Scripts folder to the System Path so we can use scrapy
    1. Click the "Start Menu" button and Right Click on "Computer" and select "Properties"
    2. Click "Advanced system settings" in the left bar
    3. Click "Environment Variables..."
    4. Find the "Path" variable in the (lower) System variables Pane and double click on it
    5. Click in the "Variable value:" pane and hit the "End" button
    6. Type, or paste, ";C:\Python27\Scripts\" (modify for wherever you installed Python) at the end of the line
      • Be sure not to disturb or change any of the existing information there
    7. Hit OK, OK,OK, X
  • You MIGHT have to install PyWin32. I did so in an effort to fix another problem as it was recommended by the Scrapy Installation Guide. Although it didn't fix the problem I was targeting it may have prevent other problems from arising. Install PyWin32 if you are having problems
    1. Download pywin32-216.win-amd64-py2.7.exe from http://sourceforge.net/projects/pywin32/files/pywin32/Build 218/
    2. Double click the downloaded file & install the software
References

posted on 2013-05-23 18:41  毕海  阅读(325)  评论()    收藏  举报