ImportError: No module named six

I did as you suggest and got the "No module named matplot lib" message. I
installed version 1.4.3 and got the "no module named six" message. I then
deleted all the matplotlib files once again and installed version 1.3.1 and now
my matplotlib program runs. Is there something else could try?

···

----- Original Message ----- From: "Benjamin Root" <ben.root@...1304...>
To: "garyr" <garyr@...4486...>
Cc: "Matplotlib Users" <Matplotlib-users@lists.sourceforge.net>
Sent: Tuesday, March 17, 2015 10:34 AM
Subject: Re: [Matplotlib-users] ImportError: No module named six

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 <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!

------------------------------------------------------------------------------
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
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

An important question that I should have asked before. Exactly where did you get the installer from? That might help us figure out what happened here.

As for a workaround, if you want to get savy with the command-line, you could run “pip install six” on the command-line. That should install it for you, and then you can try installing matplotlib through the executable.

···

On Tue, Mar 17, 2015 at 6:11 PM, garyr <garyr@…4486…> wrote:

I did as you suggest and got the “No module named matplot lib” message. I

installed version 1.4.3 and got the “no module named six” message. I then

deleted all the matplotlib files once again and installed version 1.3.1 and now

my matplotlib program runs. Is there something else could try?

----- Original Message -----

From: “Benjamin Root” <ben.root@…1304…>

To: “garyr” <garyr@…4636…>

Cc: “Matplotlib Users” Matplotlib-users@lists.sourceforge.net

Sent: Tuesday, March 17, 2015 10:34 AM

Subject: Re: [Matplotlib-users] ImportError: No module named six

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

conversation now. http://goparallel.sourceforge.net/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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

conversation now. http://goparallel.sourceforge.net/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users