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

ImportError: No module named six.moves - on a centos7 client #52

Open
mariojmdavid opened this issue Mar 3, 2017 · 1 comment
Open

Comments

@mariojmdavid
Copy link

got the gitrepo master of the role
with the playbook

  • hosts: all
    roles:
    • role: ansible-letsencrypt
      letsencrypt_webroot_path: "/etc/ssl"
      letsencrypt_email: "[email protected]"
      letsencrypt_authenticator: root

TASK [ansible-letsencrypt : Install python depends] ****************************
failed: [cloud076.ncg.ingrid.pt] (item=setuptools) => {"cmd": "/usr/local/share/letsencrypt/env/bin/pip install -U setuptools", "failed": true, "item": "setuptools", "msg": "stdout: New python executable in /usr/local/share/letsencrypt/env/bin/python2\nAlso creating executable in /usr/local/share/letsencrypt/env/bin/python\nInstalling Setuptools..............................................................................................................................................................................................................................done.\nInstalling Pip.....................................................................................................................................................................................................................................................................................................................................done.\nRunning virtualenv with interpreter /bin/python2\nDownloading/unpacking setuptools from https://pypi.python.org/packages/87/24/0a39eaaf6caac0dc20158c0d5e8e4e4f8a195d0481dc3d14043fb8e9ca94/setuptools-34.3.0.zip#md5=7be69cf0c74f38a49be1e79cc6bdc185\n Running setup.py egg_info for package setuptools\n Traceback (most recent call last):\n File "", line 3, in \n File "setuptools/init.py", line 10, in \n from six.moves import filter, map\n ImportError: No module named six.moves\n Complete output from command python setup.py egg_info:\n Traceback (most recent call last):\n\n File "", line 3, in \n\n File "setuptools/init.py", line 10, in \n\n from six.moves import filter, map\n\nImportError: No module named six.moves\n\n----------------------------------------\nCleaning up...\nCommand python setup.py egg_info failed with error code 1 in /usr/local/share/letsencrypt/env/build/setuptools\nStoring complete log in /root/.pip/pip.log\n"}

Adding "six" to the list in task:

  • name: Install python depends
    solves the problem

I will PR from my fork
best
Mario

mariojmdavid added a commit to LIP-Computing/ansible-letsencrypt that referenced this issue Mar 3, 2017
@mariojmdavid
Copy link
Author

maybe the same issue as in setuptools
pypa/setuptools#942

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

1 participant