Fix Python ImportError: No module named ‘six’ Error: A Beginner Guide – Python Tutorial

By | December 2, 2019

Python ImportError: No module named ‘six’ Error is easy to fixed, which means we need to install a python library callded six. In this tutorial, we will tell you how to fix this import error.

This import error may like:

fix python no module named six error

To fix this error, we can install python six package.

Instal six package with pip

pip install six

If you have got a notice:

Requirement already satisfied: six in c:\users\fly165\.conda\envs\py3.5\lib\site-packages

However, you can not import it in your python script. Then you can unstalled it first.

pip uninstall six

pip uninstall python six library

Then install it again.

pip install six

pip install python six library

Finally, this import error is fixed.