I just upraded gcc from 5.4 to 7 but, when i run python 2.7 it says:

Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2

I set gcc 7 as default for my system Ubuntu 16.04 and i want to set it as default for python too, how can i achive this configuration?

Thank you.


That's the version with which python was compiled, not your current gcc version.

| improve this answer | |
  • Thank you for the clarification, i have learned something new =) – Haroldo Payares Salgado Dec 18 '17 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.