Tutorial Example

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

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:

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

Then install it again.

pip install six

Finally, this import error is fixed.