Question: I was compiling Python from source and during ‘make install’, the installation failed with an error message as Sorry: UnicodeError: (“\\N escapes not supported (can’t load unicodedata module)”,). What could be the problem?
I have solved this error couple of times during Python installation by uncommenting the line number 180 (unicodedata unicodedata.c # static Unicode character database) in ‘Modules/Setup.dist’ file located in the Python source directory.
Uncomment the below line (probably 180)
# make clean
Now the installation should work.