Ask Your Question

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

asked 2017-11-23 19:45:38 +0000

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 ( 2017-11-24 10:20:10 +0000 )edit

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

dreua ( 2017-11-27 14:35:10 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-11-27 18:49:08 +0000

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-11-23 19:45:38 +0000

Seen: 52 times

Last updated: Nov 23 '17