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 子目录
相关推荐
由于pyinstaller在打包.py文件生成.exe的过程中使用其他更高版本的setuptools都会报错“Pyinstaller - pkg_resources.DistributionNotFound: The 'XXX' distribution was not found”,只有版本19.2才能正常工作,...
资源分类:Python库 所属语言:Python 资源全名:rdbtools3-0.1.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
autopep8 autopep8自动格式化Python代码以符合PEP 8样式指南。...目录安装要求使用功能更多高级用法作为模块配置pyproject.toml测试故障排除pkg_resources.DistributionNotFound链接从pip安装:$ p
pkg_resources.DistributionNotFound: backports.ssl_match_hostname>=3.5 ``` 这时候可以通过以下命令来升级这个包: ``` sudo pip install backports.ssl_match_hostname --upgrade ``` 另一个常见的问题是,...
在Python 3.7之前,这些信息通常通过`pkg_resources`模块获取,而`importlib.metadata`在3.8之后成为官方推荐的接口。 首先,让我们了解如何获取一个包的版本信息。例如,要获取名为`requests`的库的版本,可以使用...