RV: CodecRegistryError problem for an IDE.
Dieter Maurer
dieter at handshake.de
Sat May 16 12:56:36 EDT 2020
Bryan Cabrera RamÃrez wrote at 2020-5-15 19:53 +0200:
> I'm trying to insall an INET package for an IDE called OMNeT++ and when
> I try to build the INET the following happens in the command window:
>
> Fatal Python error: Py_Initialize: unable to load the file system codec
> File "C:\Python27\Lib\encodings\__init__.py", line 123
> raise CodecRegistryError,\
> ^
> SyntaxError: invalid syntax
>
> I did python repair from the setup installer but it still doesn't work.
>
> Do you know what should I do in order to solve the problem ?
Apparently, a Python version 3 interpreter is used but it finds
a Python version 2 library. Those versions cannot mix.
I cannot tell you how this mix came into being.
I would try to uninstall Python and then reinstall freshly
Python 3.
More information about the Python-list
mailing list