I am using Python 2.7 and trying to use dateutil
as follows:
from dateutil import parser as _date_parser
However, I get the following error:
Traceback (most recent call last):
File "<pyshell#17>", line 1, in <module>
from dateutil import parser as _date_parser
File "C:\Python27\Lib\dateutil\parser.py", line 24, in <module>
from six import text_type, binary_type, integer_types
ImportError: No module named six
Could you please let me know what is the six
module for and how to get it installed in a Windows 7 machine?
You need to install this
https://pypi.python.org/pypi/six
If you still don't know what pip is , then please also google for pip install
Python has it's own package manager which is supposed to help you finding packages and their dependencies: http://www.pip-installer.org/en/latest/