ModuleNotFoundError: No module named 'six'
See original GitHub issueHi! Is this a bug or am I missing something?
levsh@book:/tmp/test $ python -m venv tenv
levsh@book:/tmp/test $ source tenv/bin/activate
(tenv) levsh@book:/tmp/test $ pip install -U pip
Collecting pip
Using cached pip-21.1.3-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.1
Uninstalling pip-20.2.1:
Successfully uninstalled pip-20.2.1
Successfully installed pip-21.1.3
(tenv) levsh@book:/tmp/test $ pip install docker
Collecting docker
Using cached docker-5.0.0-py2.py3-none-any.whl (146 kB)
Collecting websocket-client>=0.32.0
Using cached websocket_client-1.1.0-py2.py3-none-any.whl (68 kB)
Collecting requests!=2.18.0,>=2.14.2
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna<4,>=2.5
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.3-py3-none-any.whl (35 kB)
Installing collected packages: urllib3, idna, charset-normalizer, certifi, websocket-client, requests, docker
Successfully installed certifi-2021.5.30 charset-normalizer-2.0.3 docker-5.0.0 idna-3.2 requests-2.26.0 urllib3-1.26.6 websocket-client-1.1.0
(tenv) levsh@book:/tmp/test $ python
Python 3.8.6 (default, Oct 6 2020, 15:18:31)
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import docker
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/private/tmp/test/tenv/lib/python3.8/site-packages/docker/__init__.py", line 2, in <module>
from .api import APIClient
File "/private/tmp/test/tenv/lib/python3.8/site-packages/docker/api/__init__.py", line 2, in <module>
from .client import APIClient
File "/private/tmp/test/tenv/lib/python3.8/site-packages/docker/api/client.py", line 10, in <module>
from .. import auth
File "/private/tmp/test/tenv/lib/python3.8/site-packages/docker/auth.py", line 5, in <module>
import six
ModuleNotFoundError: No module named 'six'
>>>
(tenv) levsh@book:/tmp/test $ pip list
Package Version
------------------ ---------
certifi 2021.5.30
charset-normalizer 2.0.3
docker 5.0.0
idna 3.2
pip 21.1.3
requests 2.26.0
setuptools 49.2.1
urllib3 1.26.6
websocket-client 1.1.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
ImportError: No module named six - python - Stack Overflow
With apt-get install python3-six I get "newest version" but with ipython I get ModuleNotFoundError: No module named 'six' . In /usr/lib/python3/dist-packages/ , ...
Read more >ModuleNotFoundError: No module named 'six' in Python
The Python "ModuleNotFoundError: No module named 'six'" occurs when we forget to install the six module before importing it or install it in ......
Read more >How to Solve modulenotfounderror no module named six
modulenotfounderror no module named is one of the most famous errors in Python. This type of error appears when the program can't import...
Read more >No module named 'six' · Issue #5633 · jupyter/notebook - GitHub
When I use ipython or jupyter notebook, it still gets wrong. I have installed module 'six'. So how to fix it?
Read more >Python - ModuleNotFoundError: No module named 'six' [Solved]
The ModuleNotFoundError: No module named 'six' error occurs one of the following reasons: Using the six module without installing it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ulyssessouza / @aiordache can we please get a 5.0.1 release for this? Lots of projects seeing downstream issues and the fix is already in
master
as of https://github.com/docker/docker-py/commit/a9748a8b702a3c75b46ba8c8d0490e4b8ec5ab04Here’s a quick summary of the related conversations that I’ve seen:
Could anyone just release a version with the fix merged? It’d happened almost a month ago, but latest release is still 5.0.0 since April 6.