Python Error: “ImportError: No module named six”

前端 未结 7 794
清酒与你
清酒与你 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条回答
  •  旧时难觅i
    2020-12-20 14:03

    After fighting long found the way it works. Python 3.4 version.

    Actually as many say you can download the six package as .zip file and extract the content in the "site packages" folder (C:\Python34\Lib\site-packages) so that the init.py file that includes "six" module is belong read from there.

    After this from the same file of init.py when we run the python script we run 4-5 module errors stating the module is not available. I found this page extremely useful after long search and just follow on with the errors IDLE states.

    Good luck!"

提交回复
热议问题