You can solve the import name _thread
error MAC OS by following the steps given below.
-
Install six using pip
sudo pip2 install six -U
-
Remove the old packages using the following command.
rm -rf /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six.*
This will fix the error.