-1

I am trying to create a graph on Python (version 3 and above) using matplotlib, however I keep getting the error saying

ImportError: No module named 'six'

Does anyone know how to fix this? I have already tried downloading the module. And I still get this error.

Andrew Magee
  • 6,506
  • 4
  • 35
  • 58

1 Answers1

0

Are you sure you've installed six?

If you have both python 2.x and 3.x installed, it may be that when running easy_install or pip, you're installing six for 2.x rather than 3.x. If you have pip, try running pip3 install six in a shell, or for easy_install, run easy_install-3.4 six (replace 3.4 with your 3.x python version).

cge
  • 9,552
  • 3
  • 32
  • 51