Python Shows Wrong Gcc Version
I updated gcc to v6 few weeks ago. Today i noticed that python2 and python3 both the interpreters were using gcc v5. Why does python interpreter show gcc v5 but I have gcc v6 insta
Solution 1:
On your platform, gcc-6
command is referring to GCC V6. gcc
command is still referring to GCC V5,
Note: You can check it via typing gcc --version
on terminal.
Solution 2:
Did you download python or build it yourself? If you download python binaries, it's already compiled and doesn't use your gcc.
If you want to compile python with gcc 6, download the cpython source from here and go wild.
Post a Comment for "Python Shows Wrong Gcc Version"