Ask Your Question

FE27: /usr/bin/python3: undefined symbol: _Py_CoerceLegacyLocale

asked 2017-11-23 13:45:38 -0500

Vjaceslav Molotov gravatar image

Thanks for your patience, this question has not been answered anywhere on the internet and I am unable to find any clues on how to fix it. The problem is this:

[jv@xp ~]$ /usr/bin/python3
/usr/bin/python3: symbol lookup error: /usr/bin/python3: undefined symbol: _Py_CoerceLegacyLocale

Before this happened I was fixing problems with anaconda3 python environments so there may be a connection there.

It is the new Fedora 27 system python3 that all the packaging systems(yum, dnf) depends on, so if I am unable to fix it, it is probably better to re-install the whole system.(Which will probably mean that with a face of defeat, looking down I ll go back to mint :-/ )

Here this gentleman is battling the same problem:

Thanks for your help. Any clues and advice will be greatly appreciated.

edit retag flag offensive close merge delete


Please edit your question and add the ouput from running this command

ldd /usr/bin/python3
villykruse gravatar imagevillykruse ( 2017-11-24 04:20:10 -0500 )edit

Did you try sudo dnf reinstall python3? (You mIght have to update first.)

dreua gravatar imagedreua ( 2017-11-27 08:35:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-27 12:49:08 -0500

I was reading that F27 uses Python 2 and that the installation process would not replace your Python 3.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-11-23 13:45:38 -0500

Seen: 3,283 times

Last updated: Nov 23 '17