我使用Python 2.7,並試圖用dateutil
如下:如何安裝六個模塊在Python2.7
from dateutil import parser as _date_parser
不過,我得到以下錯誤:
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
莫非你請讓我知道什麼是six
模塊以及如何將它安裝在Windows 7機器上?
你是否通過pip安裝'dateutil'? – vaultah