无法启动新的Scrapy项目

时间:2015-01-27 08:26:42

标签: python windows scrapy easy-install

我是scrapy的新手,我在Windows 7上安装了Python 2.7.5。当我运行startproject时出现此错误:

C:\>scrapy startproject new
Traceback (most recent call last):
  File "C:\Python27\Scripts\scrapy-script.py", line 5, in <module>
    from pkg_resources import load_entry_point
  File "build\bdist.win32\egg\pkg_resources\__init__.py", line 3018, in <module>

  File "build\bdist.win32\egg\pkg_resources\__init__.py", line 612, in _build_ma
ster
  File "build\bdist.win32\egg\pkg_resources\__init__.py", line 918, in require
  File "build\bdist.win32\egg\pkg_resources\__init__.py", line 805, in resolve
pkg_resources.DistributionNotFound: cryptography>=0.2.1

我尝试更新scrapy,但我仍然遇到此错误。请帮忙!!

1 个答案:

答案 0 :(得分:1)

更新python 2.7.9然后安装。

(这是以前的评论。)