windows - Python program uses 2.6 method, but came with python24.dll -
i running downloaded python program (.pyc file) throws following error:
attributeerror: 'str' object has no attribute 'format'
apparently, str.format
2.6+ method. when check program's directory, 1 of files included in distribution python24.dll
.
i tried adding python26.dll
directory, doesn't work. tried rename python26.dll
python24.dll
, still no luck.
anything other recompile original python code? thanks!
.pyc file cannot used across multiple versions. http://www.python.org/dev/peps/pep-3147/
Comments
Post a Comment