You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
I have installed python 2.7.4_pre20120805 and `platform.python_version()`
returns '2.7.3+'. As a result the expression
`platform.python_version() < version.StrictVersion("2.7")` in setup.py raises
`ValueError`:
python2.7 setup.py build
Traceback (most recent call last):
File "setup.py", line 25, in <module>
if platform.python_version() < version.StrictVersion("2.7"):
File "/usr/lib/python2.7/distutils/version.py", line 138, in __cmp__
other = StrictVersion(other)
File "/usr/lib/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.7.3+'
I unsure, maybe this condition can be
`version.LooseVersion(platform.python_version()) < version.LooseVersion("2.7")`?
Original issue reported on code.google.com by 4glitch on 7 Nov 2012 at 11:38
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
4glitch
on 7 Nov 2012 at 11:38The text was updated successfully, but these errors were encountered: