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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -