Gcc version of python used within anaconda

主宰稳场 提交于 2019-12-11 00:47:38

问题


How do I change the gcc version of python used within anaconda or a virtual environment? Right now when I start python it shows:

[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] 

on linux2 This is the same as the system-wide gcc in /usr/bin/ However, I want it to use the version /etc/scl/prefixes/devtoolset-2: which is gcc 4.8

Many thanks.


回答1:


Python shows you the compiler and version that was used to build python, it doesn't use this at runtime. The version of GCC used to build python doesn't matter itself.



来源:https://stackoverflow.com/questions/45101257/gcc-version-of-python-used-within-anaconda

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!