![Install gcc python mac Install gcc python mac](/uploads/1/2/5/6/125635852/874955364.jpg)
I am trying to build some libraries (like fable, PIL.) on my Mac OS X Lion 10.7.3. When I enter the Python interpreter on the Terminal, I have the version 4.0.1 of gcc: Python 2.7.2 (v2.7.2:a2, Jun 11 2011, 14:13:39) GCC 4.0.1 (Apple Inc. Build 5493) on darwin But interestingly, if I enter python2.6, I have gcc 4.2.1: GCC 4.2.1 (Based on Apple Inc. Build 5658) (LLVM build 2335.15.00) on darwin Type 'help', 'copyright', 'credits' or 'license' for more information.` I want to use Python (version 2.7.2 because it's the latest I have), but compiling is impossible in this Python version. With the command python setup.py install, I have the error message: unable to execute gcc-4.0: No such file or directory error: command 'gcc-4.0' failed with exit status 1 Is it normal on a Mac? Can anybody help me to define gcc 4.2.1 for Python 2.7.2?
![Mac Mac](/uploads/1/2/5/6/125635852/298559748.jpg)
In this guide we’ll install Python interpreter on Windows, mac and on Linux platform and execute a simple example to verify it. As you already know Python is a High-Level interpreted language with higher code readability closer to English. To run any python program, we need Python interpreter installed on our platform.