-
Notifications
You must be signed in to change notification settings - Fork 1
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
ImportError: No module named six - with Ansible 2.4 #12
Comments
Hello @fabriziopandini any chance you can give this issue some attention ? |
Running into this on RHEL7 too (ansible 2.4 hit the extras repo recently) Did
|
can this issue get any attention ? I like to be able to start using Ansible 2.4 in my current work-flow, and this bug is a blocker for me. I'm thinking to stop using it and the ps ... I did a small test and it seems like you can change the import to use six package and not the one which came with ansible, and it will work. --- a/usr/lib/python2.7/site-packages/vagrantplaybook/compat.py 2017-10-02 12:07:26.993066006 +0300
+++ b/usr/lib/python2.7/site-packages/vagrantplaybook/compat.py 2017-11-02 17:23:55.177159181 +0200
@@ -3,7 +3,7 @@
__metaclass__ = type
#TODO: remove dependencies from ansible
-from ansible.compat.six import string_types, text_type, integer_types
+from six import string_types, text_type, integer_types
compat_string_types = string_types
compat_text_type = text_type
|
@rabin-io sorry for the long time in the answer |
Hi @fabriziopandini , long time no see :) I'm currently running |
I just published release 0.7.4. that fixes this one (thanks for the suggestion 👍 ). I'll try to get out of the way #11 soon as well |
Thanks for the quick reply, as for me i just updated to version 0.7.5 ... is that right ??
any way, it seems to work. @gregorydulin can you confirm as well ? |
Seems like it's related to Ansible version, I get this error message with Ansible 2.4,
but can still work with version 2.3.
I checked and I have the six package installed , I even tried to install it from pip and it didn't help.
edit:
OK, I when over my upgrade history, and I see that Ansible was upgraded to version 2.4,
checking the plugin source code I see this lines,
seems like others have problem with this: ansible/ansible#24628
The text was updated successfully, but these errors were encountered: