无法下载任何python Windows模块并安装.我想尝试scrapy框架和无堆栈但由于错误"需要Python版本2.6,在注册表中找不到"而无法安装.
试图安装它
Windows 7,64位机器
我无法在Scrapy教程中成功运行第一个命令(http://doc.scrapy.org/en/latest/intro/tutorial.html).粘贴在下面的代码副本是结果(最后有错误).
安装了Python 2.7,我按照scrapy的安装说明进行操作(http://doc.scrapy.org/en/latest/intro/install.html).我在Windows 7(64位)上运行Python 2.7.6 32位.
安装的其他方面:
Twisted-13.2.0.dist-infozope.interface-4.1.1-py2.7Scrapy-0.22.2-py2.7lxml-3.3.3-py2.7cssselect-0.9.1-py2.7cryptography-0.3.dist-infopyOpenSSL-0.14-py2.7pywin32_system32这是错误信息:
C:\Python27\Scripts>scrapy startproject tutorial
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\scrapy\cmdline.py", line 9, in <module>
from scrapy.crawler import CrawlerProcess
File "C:\Python27\lib\site-packages\scrapy\crawler.py", line 3, in <module>
from twisted.internet import reactor, defer
File "twisted\internet\reactor.py", line 38, in …Run Code Online (Sandbox Code Playgroud)