[New-bugs-announce] [issue20794] ImportError: Bad magic number in .pyc file

Naval Gupta report at bugs.python.org
Thu Feb 27 13:13:07 CET 2014


New submission from Naval Gupta:

Getting below compilation error:

ImportError: Bad magic number in xxxx.pyc

Ran a python abc.py module which is trying to import xxxx.pyc during compilation

Python Interpreter used to run: Python 2.7
Python pre-compiled file xxxx.pyc is compiled using Python 2.6

----------
components: Interpreter Core
messages: 212351
nosy: navalkgupta
priority: normal
severity: normal
status: open
title: ImportError: Bad magic number in .pyc file
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20794>
_______________________________________


More information about the New-bugs-announce mailing list