[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RV: CodecRegistryError problem for an IDE.

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.