lyft / lyft/python-blessclient
ModuleNotFoundError: No module named 'awsmfautils'
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 117
- 派生
- 31
- PR 合并指标
- 30 天内没有已合并 PR
描述
Trying to set this up on my Centos7, using Python 3.6 from ius.io
Downloaded the master zip, and unpacked. After fiddling with requirements I got 'make client' to work
Successfully installed blessclient boto3-1.4.7 botocore-1.7.36 docutils-0.14 jmespath-0.9.3 kmsauth-0.2.0 psutil-5.4.0 python-dateutil-2.6.1 s3transfer-0.1.11 six-1.11.0
ln -s venv/bin/blessclient ./blessclient.run
But actually running the result fails:
[bent@c7vm python-blessclient-master]$ ./blessclient.run
Traceback (most recent call last):
File "./blessclient.run", line 11, in
load_entry_point('blessclient', 'console_scripts', 'blessclient')()
File "/tmp/python-blessclient-master/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/tmp/python-blessclient-master/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
return ep.load()
File "/tmp/python-blessclient-master/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2409, in load
return self.resolve()
File "/tmp/python-blessclient-master/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2415, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/tmp/python-blessclient-master/blessclient/client.py", line 22, in
import awsmfautils
ModuleNotFoundError: No module named 'awsmfautils'
[bent@c7vm python-blessclient-master]$
Should I package the contents of the venv somehow and install that?
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在报告的 Python 3.6 环境中运行 ./blessclient.run 以重现故障。从 blessclient/client.py 开始,跟踪在文档所述的设置过程中应如何提供 awsmfautils 导入。按照安装步骤操作后,客户端能够在没有 ModuleNotFoundError 的情况下启动,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100