Discussion:
[Matplotlib-users] Matplotlib import Error
aureta
2015-06-07 19:57:06 UTC
Permalink
Hi, I had Matplotlib installed and working in my PC. I decided to uninstall
it using the control panel software uninstall option and install it again.
This time when I run the VIDLE using the import matplot.pyplot as plt
sentence I get the following message:

Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
on win32
Type "copyright", "credits" or "license()" for more information.
================================ RESTART
================================
Traceback (most recent call last):
File "Untitled", line 1
import matplotlib.pyplot as plt
File "C:\Python27\Lib\site-packages\matplotlib\__init__.py", line 105
import six
ImportError: No module named six
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Matplotlib-import-Error-tp45741.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Bryan Williams
2015-06-07 20:44:15 UTC
Permalink
If you have pip installed, installing six is simple:

pip install six

Hope that helps! :)
Post by aureta
Hi, I had Matplotlib installed and working in my PC. I decided to uninstall
it using the control panel software uninstall option and install it again.
This time when I run the VIDLE using the import matplot.pyplot as plt
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
on win32
Type "copyright", "credits" or "license()" for more information.
================================ RESTART
================================
File "Untitled", line 1
import matplotlib.pyplot as plt
File "C:\Python27\Lib\site-packages\matplotlib\__init__.py", line 105
import six
ImportError: No module named six
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Matplotlib-import-Error-tp45741.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Loading...