Fix docker-compose ImportError: cannot import name _thread05 Nov 2016
In this snippet I’ll show you how to Fix
docker-compose ImportError: cannot import name _thread.
I had this error recently after I installed docker-compose with pip.
Six has been installed incorrectly, or is outdated.
brew reinstall python pip install -I six pip install -I docker-compose</code>
-I is shorthand for
--ignore-installed. It tells pip to ignore the packages and install them again in the same folder. This has the result of reinstalling the packages.
And that’s how you fix
docker-compose ImportError: cannot import name _thread