Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'awsmfautils' #20

Open
bentterp opened this issue Nov 1, 2017 · 2 comments
Open

ModuleNotFoundError: No module named 'awsmfautils' #20

bentterp opened this issue Nov 1, 2017 · 2 comments

Comments

@bentterp
Copy link

bentterp commented Nov 1, 2017

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?

@Stype
Copy link
Contributor

Stype commented Nov 1, 2017

Hi @bentterp, I'm going to suspect that running under python 3.6 is causing the issue. Blessclient is tested (and at Lyft runs for everyone) using python 2.7. Try that out, and let me know if you're still seeing issues!

Python3 support would be awesome, and should be fairly easy to do. I just haven't had the time.

@asottile
Copy link
Contributor

I originally added python3 support in #25 and I'm making it actually work in #33 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants