|
From: garyr <ga...@fi...> - 2015-03-19 02:15:09
|
----- Original Message ----- From: "Benjamin Root" <ben...@ou...> To: "garyr" <ga...@fi...> Cc: "Matplotlib Users" <Mat...@li...> Sent: Wednesday, March 18, 2015 10:49 AM Subject: Re: [Matplotlib-users] ImportError: No module named six > 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. >From here: http://matplotlib.org/downloads.html I installed six and all is well now, my program runs with Python 1.4.3 installed. Many thanks for your help Gary > > 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 <ga...@fi...> 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...@ou...> >> To: "garyr" <ga...@fi...> >> Cc: "Matplotlib Users" <Mat...@li...> >> 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 <ga...@fi...> 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 >> >> Mat...@li... >> >> 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 >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |