Skip to content Skip to sidebar Skip to footer

How To Change Python Default Compiler To Gcc?

I have Windows 10 and Python 2.7 installed. When I run IDLE I find this: Python 2.7.10 (default, Oct 14 2015, 16:09:02) [MSC v.1500 32 bit (Intel)] I want the default compiler her

Solution 1:

Edit Distutils config file C:\Python2.7\Lib\distutils\distutils.cfg (Create the file if it already does not exist).

Add the following to the file:

[build]

compiler = mingw32

This should work.

Post a Comment for "How To Change Python Default Compiler To Gcc?"