Page 1 of 1

Bad magic number in .pyc file

Posted: Tue Feb 21, 2006 5:34 pm
by EJW
I've read the other posts about this being a Python issue but I can't seem to get beyond it.

I'm experimenting with this product while learning more on the Linux platform.

I removed the installed Python package and installed the 2.4.3 version.

Here's what I get:
Scalix Installer - extracting archive, please wait...
RuntimeError: Bad magic number in .pyc file
Scalix Installer - starting version ...
Scalix Installer - using Python 2.3.3.
RuntimeError: Bad magic number in .pyc file
Scalix Installer - cleaning up...
Scalix Installer - stopped.

But it states 2.4.2 is installed:
Bogngo:~/Scalix/scalix-core-intel-suse-10.0.0 # python
Python 2.4.2 (#1, Feb 21 2006, 11:00:46)
[GCC 3.3.3 (SuSE Linux)] on linux2

Posted: Thu Feb 23, 2006 6:06 pm
by Detachable
I had exactly this problem. I made sure to toss it all out the window before reinstalling. Get rid of all traces that your python install(s) made. hunt around and/or review the files that python is supposed to install.

It's already becoming vague, but I'm fairly sure there were about 2-3 other packages that I needed to install thereafter, but that may have been an indemic problem. Nonetheless updating python fixed it all, but only after I made sure everything was gone.

Good luck!

Posted: Sat Feb 25, 2006 8:11 am
by florian
Did you update your python using SuSE RPM packages or from some other source?

Florian.

Posted: Thu Sep 07, 2006 5:12 am
by florian