lyft / lyft/python-blessclient

ModuleNotFoundError: No module named 'awsmfautils'

未關閉
#20 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

在回報的 Python 3.6 環境中執行 ./blessclient.run 以重現故障。從 blessclient/client.py 開始,追蹤在文件所述的設定過程中應如何提供 awsmfautils 匯入。依照安裝步驟操作後,客戶端能夠在沒有 ModuleNotFoundError 的情況下啟動,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
28/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。