Python Interpreter Error with PyDev (Eclipse IDE)

Fabio Zadrozny fabiofz at gmail.com
Fri Dec 16 12:57:33 EST 2011


It seems you have a version of Python 2.5 in your system and when
starting up Python 3.2.2 it's getting things from 2.5 (this would
probably also happen on the command line).

The usual suspect is that you defined a PYTHONROOT variable which is
pointing to Python 2.5 and not to the python you're using...

Cheers,

Fabio

On Thu, Dec 15, 2011 at 10:20 PM, Joshua Jodrey <jdjodrey at yahoo.com> wrote:
> Hi,
> This is my first email to this list, so I apologize if there's a better
> mailing-list for this type of question.
>
> I'm looking to get started with python development, so I downloaded Python
> 3.2.2 and PyDev IDE for Eclipse.  When I go to configure my interpreter for
> a new python project, Windows gives me the following error:
>
> "python.exe has stopped working"
>
> and then Eclipse shows
>
> "Error getting info on interpreter
> "See error log for details.
> No output was in the standard output when trying to create the interpreter
> info.
> The error output contains:>>Fatal Python error: Py_Initialize: unable to
> load the file system codec
>   File "C:\csvn\Python25\\lib\encodings\__init__.py", line 120
>     raise CodecRegistryError,\
>                             ^
> SyntaxError: invalid syntax
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> <<"
>
> Does anybody have any idea what this means or what I'm doing wrong?  I've
> tried re-installing Python, but still can't get it to work.
> And again, if I'm in the wrong place, please direct me to the proper
> mailing-list or forum.
>
> Thanks!
> Josh
>
> P.S. I'm not subscribed to this mailer, so please include me in your
> replies!
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list