[Tutor] How to unpack python-dateutil-2.0.tar.gz

Richard D. Moores rdmoores at gmail.com
Fri Oct 19 03:16:35 CEST 2012


Running the example at
<http://labix.org/python-dateutil#head-8d03c6c25ead6f9cab0cde83e6f672b52480ab90>,
with Python 2.3.2 64-bit,

The importing goes OK, it seems, but:

Python 3.2.3 (default, Apr 11 2012, 07:12:16) [MSC v.1500 64 bit (AMD64)]
Type "help", "copyright", "credits" or "license" for more information.
[evaluate untitled-1.py]
Traceback (most recent call last):
  File "C:\Program Files (x86)\Wing IDE
4.1\src\debug\tserver\_sandbox.py", line 9, in <module>
  File "c:\Python32\Lib\site-packages\dateutil\parser.py", line 720, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "c:\Python32\Lib\site-packages\dateutil\parser.py", line 310, in parse
    raise ValueError("unknown string format")
builtins.ValueError: unknown string format

Dick


More information about the Tutor mailing list