
Well, I found out that if before compiling my python I set export MACOSX_DEPLOYMENT_TARGET=10.3 and then do all the rest, then I get easy_install to work. Besides, I had the same error trying to install cx_Oracle. So, somehow my python (or setuptools) need to build for "10.3". For me it's a bug in setuptools since the function that do this check and raise the error are from setuptools package. Alan On 3 July 2013 19:50, Chris Barker - NOAA Federal <chris.barker@noaa.gov>wrote:
This is really a build question, rather than a distributuion question -- I"d try the pythonmac list:
http://mail.python.org/mailman/listinfo/pythonmac-sig
I recall that readline is a bit of a pain on the Mac, but don't recall the solution (nor am I running 10.8 yet).
Good luck, -Chris
On Wed, Jul 3, 2013 at 6:55 AM, Alan <alanwilter@gmail.com> wrote:
Hi there,
I am trying to install readline and cx_Oracle on my Mac OSX 10.8.4. I've just installed python 2.7.3 standard in my $HOME dir and then I did:
export PATH=$HOME/bin:$PATH ~/setuptools-0.7.7 python setup.py install --prefix=$HOME
which worked.
I tried to installed ipython 0.13.2 which seems to have worked but it fails to start because of readline.
easy_install readline Searching for readline Reading https://pypi.python.org/simple/readline/ Best match: readline 6.2.4.1 Downloading
https://pypi.python.org/packages/source/r/readline/readline-6.2.4.1.tar.gz#m...
Processing readline-6.2.4.1.tar.gz Writing
/var/folders/0c/n_0by3qj74bg5m68fxrw2kw40000gp/T/easy_install-3WQA6K/readline-6.2.4.1/setup.cfg
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir
/var/folders/0c/n_0by3qj74bg5m68fxrw2kw40000gp/T/easy_install-3WQA6K/readline-6.2.4.1/egg-dist-tmp-eyGcUE
error: Setup script exited with error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.4" during configure
How can solve this problem please?
Thanks in advance,
Alan
-- Alan Wilter SOUSA da SILVA, DSc Bioinformatician, UniProt - PANDA, EMBL-EBI CB10 1SD, Hinxton, Cambridge, UK +44 1223 49 4588
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
--
Christopher Barker, Ph.D. Oceanographer
Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
-- Alan Wilter SOUSA da SILVA, DSc Bioinformatician, UniProt - PANDA, EMBL-EBI CB10 1SD, Hinxton, Cambridge, UK +44 1223 49 4588