pkg_resources.DistributionNotFound

1.pip install lettuce

2.lettuce的时候报错了

 信息主要是:pkg_resources.DistributionNotFound

解决方案:

      pip install -U setuptools

3.继续lettuce

c:\Python27\Lib\site-packages>lettuce
c:\Python27\lib\site-packages\fuzzywuzzy\fuzz.py:33: UserWarning: Using slow pure-python SequenceMat
cher. Install python-Levenshtein to remove this warning
  warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this w
arning')
Oops!
could not find features at \features

说明 lettuce 已经安装成功;因为还没有创建 lettuce 项目,所会提示:“哎在features 目录下不能发现 features”,lettuce 期望在当前目录下创建 features 子目录

猜你喜欢

转载自20120923lina.iteye.com/blog/2222901