无法启动新的 Scrapy 项目
Unable to start new Scrapy Project
我是 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,但仍然出现此错误。请帮忙!!
更新python 2.7.9 然后安装。
(这是以前的评论。)
我是 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,但仍然出现此错误。请帮忙!!
更新python 2.7.9 然后安装。
(这是以前的评论。)