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 #22

Closed
johnnygiter opened this issue Aug 1, 2021 · 3 comments · Fixed by #23
Closed

ModuleNotFoundError #22

johnnygiter opened this issue Aug 1, 2021 · 3 comments · Fixed by #23

Comments

@johnnygiter
Copy link

Did exactly as instuction says, Ubuntu 20

/autocmp/docker-autocompose# docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose Test
Traceback (most recent call last):
  File "/usr/src/app/./autocompose.py", line 3, in <module>
    import sys, argparse, pyaml, docker
  File "/usr/local/lib/python3.9/site-packages/docker-5.0.0-py3.9.egg/docker/__init__.py", line 2, in <module>
    from .api import APIClient
  File "/usr/local/lib/python3.9/site-packages/docker-5.0.0-py3.9.egg/docker/api/__init__.py", line 2, in <module>
    from .client import APIClient
  File "/usr/local/lib/python3.9/site-packages/docker-5.0.0-py3.9.egg/docker/api/client.py", line 10, in <module>
    from .. import auth
  File "/usr/local/lib/python3.9/site-packages/docker-5.0.0-py3.9.egg/docker/auth.py", line 5, in <module>
    import six
ModuleNotFoundError: No module named 'six'
@Red5d
Copy link
Owner

Red5d commented Aug 2, 2021

That's weird. I just tested myself and ran that exact command and it worked. Make sure you have the latest docker image with:
docker pull red5d/docker-autocompose
and try running that again. Also, what version of docker are you running on the host system?

@Red5d Red5d closed this as completed in #23 Aug 7, 2021
@Red5d
Copy link
Owner

Red5d commented Aug 7, 2021

Not sure if I had an old image or something, and I'm not sure why it wasn't needed before, but it does need the "six" module now. Merged a fix for it from @LunaticMuch now.

@johnnygiter
Copy link
Author

johnnygiter commented Aug 8, 2021

Sorry for little delay, I pulled today the latest version did exactly the same on the same config and worked, so solved:)
Thank you

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

Successfully merging a pull request may close this issue.

2 participants