Python Error: “ImportError: No module named six”

前端 未结 7 623
清酒与你
清酒与你 2020-12-20 13:18

I am running Python 2.7 on a Windows 7 OS

Here is what I run:

>>> import matplotlib.pyplot as plt

Then I get this:

相关标签:
7条回答
  • 2020-12-20 14:11

    I got exactly the same error message. And it seams there are many many possible causes. In my case, I solved the issue by reinstalling six

    pip uninstall six ; pip install six
    

    I guess the previous installation was aborted before a complete termination. Or maybe a permission issue. Or something else ... now it's too late to investigate what was the real cause.

    0 讨论(0)
提交回复
热议问题