I downloaded version 1.4.3 and installed it (i.e., executed matplotlib-1.4.3.win32-py2.6.exe). Now when I
attempt to run a program I get the following:
python rainfallYears.py
Traceback (most recent call last):
File "rainfallYears.py", line 4, in <module>
import matplotlib.pyplot as plt
File "C:\Python26\lib\site-packages\matplotlib\__init__.py", line 105, in
<module>
import six
ImportError: No module named six
Exit code: 1
So then I went back to 1.3.1 and get the same error...
Help!
Chances are, there is some sort of mixup in your installs (as evidenced by the failure to go back to the previous version). I would try uninstalling all matplotlib installs, then checking to see if python still sees matplotlib anywhere (by running the script). It should say “No module named matplotlib” or some such. Once all of that is removed, install matplotlib again.
Ben Root
···
On Tue, Mar 17, 2015 at 1:12 PM, garyr <garyr@…4486…> wrote:
I downloaded version 1.4.3 and installed it (i.e., executed
matplotlib-1.4.3.win32-py2.6.exe). Now when I
attempt to run a program I get the following:
python rainfallYears.py
Traceback (most recent call last):
File “rainfallYears.py”, line 4, in
import matplotlib.pyplot as plt
File “C:\Python26\lib\site-packages\matplotlib_init_.py”, line 105, in
import six
ImportError: No module named six
Exit code: 1
So then I went back to 1.3.1 and get the same error…
Help!
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the