Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to install MySQLdb on Mountain Lion
    primarykey
    data
    text
    <p>I'm new to Python and I'm having trouble building MySQLdb, in an attempt to get Google AppEngine SDK running. I have just upgraded from Snow Leopard to Mountain Lion and have installed the latest XCode (4.4)</p> <p>I've downloaded <a href="http://sourceforge.net/projects/mysql-python/">http://sourceforge.net/projects/mysql-python/</a></p> <pre><code>python setup.py build </code></pre> <p>i get the following output in terminal </p> <pre><code>running build running build_py creating build creating build/lib.macosx-10.8-intel-2.7 copying _mysql_exceptions.py -&gt; build/lib.macosx-10.8-intel-2.7 creating build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/__init__.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/converters.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/connections.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/cursors.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/release.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb copying MySQLdb/times.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb creating build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/__init__.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/CR.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -&gt; build/lib.macosx-10.8-intel- 2.7/MySQLdb/constants copying MySQLdb/constants/ER.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/FLAG.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/REFRESH.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -&gt; build/lib.macosx-10.8-intel-2.7/MySQLdb/constants running build_ext building '_mysql' extension creating build/temp.macosx-10.8-intel-2.7 clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.8-intel-2.7/_mysql.o -Os -g -fno-common -fno-strict-aliasing -arch x86_64 unable to execute clang: No such file or directory error: command 'clang' failed with exit status 1 </code></pre> <p>both of the following directories exist, i have no idea how to resolve the issue with clang not being able to execute...</p> <pre><code>/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 /usr/local/mysql/include </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload