[IPython-dev] Trouble installing latest IPython 2.0 on Mac

MinRK benjaminrk@gmail....
Thu Feb 13 18:56:49 CST 2014


This is a problem in both Anaconda and readline because of Anaconda's
unfortunate choice of 10.5 as the target SDK, which then readline doesn't
properly handle because the system is not actually 10.5, and it fails to
build. I actually have fixes <https://github.com/conda/conda-build/pull/42>
out <https://github.com/ludwigschwardt/python-readline/pull/31> to both,
respectively, which will hopefully resolve before we release IPython 2.0.
If they don't, I'll revert the annoying checking we have for readline on OS
X so that it will install on Anaconda.

In the meantime, you can install IPython with

    pip install --no-deps

which will ignore the dependencies, and/or use the `setup.py symlink`,
which is nicer than `pip install -e` or `setup.py develop`, and doesn't use
setuptools, so it will not install dependencies.

-MinRK


On Thu, Feb 13, 2014 at 4:15 PM, Alessandro Gagliardi <
alessandro.gagliardi@glassdoor.com> wrote:

>  I’m using a Mac with Anaconda installed. I was able to pip install the
> master branch of IPython 2 before but I wanted to update it (so I could get
> widgets). It looks like it dies while trying to build the readline
> extension module with regard to Darwin. I already have readline 6.2
> installed (from conda). When I try to pip install readline, I get the same
> error:
>
>   Command /Users/alessandro.gagliardi/anaconda/bin/python -c "import
> setuptools,
> tokenize;__file__='/private/var/folders/s2/y7672sbn1p77xsk1zlh4zpss4brwrw/T/pip_build_alessandro.gagliardi/readline/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record
> /var/folders/s2/y7672sbn1p77xsk1zlh4zpss4brwrw/T/pip-yvVpC0-record/install-record.txt
> --single-version-externally-managed --compile failed with error code 1 in
> /private/var/folders/s2/y7672sbn1p77xsk1zlh4zpss4brwrw/T/pip_build_alessandro.gagliardi/readline
>
> Storing debug log for failure in /Users/alessandro.gagliardi/.pip/pip.log
>
>  I’ve attached the pip.log file in case that helps.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20140213/36296c80/attachment.html 


More information about the IPython-dev mailing list