0

Hi,

I am trying to run a installer file that is compiled in python 2.5 on fedora 10 to the new upgraded python 2.6 on fedora 13
while trying to run the installer file this error occurs
RuntimeError: Bad magic number in .pyc file
The pyc files are compiled in python version 2.5 and now i am trying to use that
files in python 2.6
Anybody have a solution kindly advice me..

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by muthukumarangms
0

If you only have the .pyc files (and not the .py files), the best solution is to install a version of python 2.5 on your system and run the installer with this version of python. You can have several versions of python on the same system (I currently use 2.5, 2.6 and 3.1).

Edited by Gribouillis: n/a

0

If you only have the .pyc files (and not the .py files), the best solution is to install a version of python 2.5 on your system and run the installer with this version of python. You can have several versions of python on the same system (I currently use 2.5, 2.6 and 3.1).

But automatically along with fedora 13 python 2.6.4 is available. .so its not a problem .. right ..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.