Note that there are some explanatory texts on larger screens.

plurals
  1. POPython MySQL installing wrongly on Mac OS X 10.6 i386
    primarykey
    data
    text
    <p>When trying to install MySQL's python bindings, MySQLdb, I followed the instructions to build and install on my MacBook running Mac OS X 10.6 i386, and after entering the following line into the terminal:</p> <pre><code>user-152-3-158-79:MySQL-python-1.2.3c1 jianweigan$ sudo python setup.py build </code></pre> <p>I get the following errors:</p> <pre><code>running build running build_py creating build/lib.macosx-10.3-i386-2.6 copying _mysql_exceptions.py -&gt; build/lib.macosx-10.3-i386-2.6 creating build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/__init__.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/converters.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/connections.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/cursors.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/release.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb copying MySQLdb/times.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb creating build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/__init__.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/CR.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/ER.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/FLAG.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/REFRESH.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -&gt; build/lib.macosx-10.3-i386-2.6/MySQLdb/constants running build_ext building '_mysql' extension creating build/temp.macosx-10.3-i386-2.6 Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk Please check your Xcode installation </code></pre> <p>It looks like the setup.py build script is recognizing my OS as Mac OS X 10.3 instead of 10.6 so it tries to locate an older version of XCode which I don't have.</p> <p>Does anyone know how to get around this problem? Perhaps manually configuring the script to recognize my os as 10.6?</p>
    singulars
    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.
    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