Created
April 19, 2015 08:13
-
-
Save jitendravyas/1215bd71fa9f1bbf27d2 to your computer and use it in GitHub Desktop.
Trying installing python on osx using homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ❯❯❯ brew install python | |
==> Installing dependencies for python: readline, sqlite, openssl | |
==> Installing python dependency: readline | |
==> Downloading https://homebrew.bintray.com/bottles/readline-6.3.8.yosemite.bot | |
curl: (6) Could not resolve host: d29vzk4ow07wi7.cloudfront.net | |
Error: Failed to download resource "readline" | |
Download failed: https://homebrew.bintray.com/bottles/readline-6.3.8.yosemite.bottle.tar.gz | |
Warning: Bottle installation failed: building from source. | |
==> Downloading http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz | |
######################################################################## 100.0% | |
==> Downloading https://gist.githubusercontent.com/jacknagel/d886531fb6623b60b2a | |
######################################################################## 100.0% | |
==> Patching | |
patching file display.c | |
patching file input.c | |
patching file misc.c | |
patching file patchlevel | |
patching file readline.c | |
patching file rltypedefs.h | |
patching file util.c | |
==> ./configure --prefix=/usr/local/Cellar/readline/6.3.8 --enable-multibyte | |
==> make install | |
==> Caveats | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X provides similar software, and installing this software in | |
parallel can cause all kinds of trouble. | |
OS X provides the BSD libedit library, which shadows libreadline. | |
In order to prevent conflicts when programs look for libreadline we are | |
defaulting this GNU Readline installation to keg-only. | |
Generally there are no consequences of this for you. If you build your | |
own software and it requires this formula, you'll need to add to your | |
build variables: | |
LDFLAGS: -L/usr/local/opt/readline/lib | |
CPPFLAGS: -I/usr/local/opt/readline/include | |
==> Summary | |
🍺 /usr/local/Cellar/readline/6.3.8: 40 files, 2.1M, built in 25 seconds | |
==> Installing python dependency: sqlite | |
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.8.8.3.yosemite.bot | |
curl: (6) Could not resolve host: d29vzk4ow07wi7.cloudfront.net | |
Error: Failed to download resource "sqlite" | |
Download failed: https://homebrew.bintray.com/bottles/sqlite-3.8.8.3.yosemite.bottle.tar.gz | |
Warning: Bottle installation failed: building from source. | |
==> Downloading https://sqlite.org/2015/sqlite-autoconf-3080803.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/sqlite/3.8.8.3 --enable-dynamic-exten | |
==> make install | |
==> Caveats | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X already provides this software and installing another version in | |
parallel can cause all kinds of trouble. | |
OS X provides an older sqlite3. | |
Generally there are no consequences of this for you. If you build your | |
own software and it requires this formula, you'll need to add to your | |
build variables: | |
LDFLAGS: -L/usr/local/opt/sqlite/lib | |
CPPFLAGS: -I/usr/local/opt/sqlite/include | |
==> Summary | |
🍺 /usr/local/Cellar/sqlite/3.8.8.3: 9 files, 2.1M, built in 36 seconds | |
==> Installing python dependency: openssl | |
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2a-1.yosemite.b | |
######################################################################## 100.0% | |
==> Pouring openssl-1.0.2a-1.yosemite.bottle.tar.gz | |
==> Caveats | |
A CA file has been bootstrapped using certificates from the system | |
keychain. To add additional certificates, place .pem files in | |
/usr/local/etc/openssl/certs | |
and run | |
/usr/local/opt/openssl/bin/c_rehash | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X already provides this software and installing another version in | |
parallel can cause all kinds of trouble. | |
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries | |
Generally there are no consequences of this for you. If you build your | |
own software and it requires this formula, you'll need to add to your | |
build variables: | |
LDFLAGS: -L/usr/local/opt/openssl/lib | |
CPPFLAGS: -I/usr/local/opt/openssl/include | |
==> Summary | |
🍺 /usr/local/Cellar/openssl/1.0.2a-1: 463 files, 18M | |
==> Installing python | |
==> Downloading https://homebrew.bintray.com/bottles/python-2.7.9.yosemite.bottl | |
curl: (6) Could not resolve host: homebrew.bintray.com | |
Error: Failed to download resource "python" | |
Download failed: https://homebrew.bintray.com/bottles/python-2.7.9.yosemite.bottle.10.tar.gz | |
Warning: Bottle installation failed: building from source. | |
==> Installing python dependency: pkg-config | |
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.28.yosemite.bo | |
curl: (6) Could not resolve host: homebrew.bintray.com | |
Error: Failed to download resource "pkg-config" | |
Download failed: https://homebrew.bintray.com/bottles/pkg-config-0.28.yosemite.bottle.2.tar.gz | |
Warning: Bottle installation failed: building from source. | |
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.28 --disable-host-tool - | |
==> make | |
==> make check | |
==> make install | |
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 604K, built in 58 seconds | |
==> Downloading https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz | |
######################################################################## 100.0% | |
==> Downloading http://bugs.python.org/file30805/issue10910-workaround.txt | |
curl: (7) Couldn't connect to server | |
Error: Failed to download resource "python--patch" | |
Download failed: http://bugs.python.org/file30805/issue10910-workaround.txt | |
~ ❯❯❯ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment