brew update
and
brew doctor
have been run before this
stanleycheung@stanleycheung-macbookpro:~$ which python
/usr/bin/python
stanleycheung@stanleycheung-macbookpro:~$ python --version
Python 2.7.6
stanleycheung@stanleycheung-macbookpro:~$ which pip
which pip
/usr/local/bin/pip
stanleycheung@stanleycheung-macbookpro:~$ curl -fsSL https://goo.gl/getgrpc | bash -s python
curl -fsSL https://goo.gl/getgrpc | bash -s python
openssl is already installed
==> Installing dependencies for protobuf: autoconf, automake, libtool
==> Installing protobuf dependency: autoconf
==> Downloading http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
######################################################################### 100.0%
==> ./configure --prefix=/Users/stanleycheung/homebrew/Cellar/autoconf/2.69
==> make install
๐บ /Users/stanleycheung/homebrew/Cellar/autoconf/2.69: 70 files, 3.1M, built in 8 seconds
==> Installing protobuf dependency: automake
==> Downloading http://ftpmirror.gnu.org/automake/automake-1.15.tar.xz
######################################################################### 100.0%
==> ./configure --prefix=/Users/stanleycheung/homebrew/Cellar/automake/1.15
==> make install
๐บ /Users/stanleycheung/homebrew/Cellar/automake/1.15: 130 files, 3.2M, built in 8 seconds
==> Installing protobuf dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bott
######################################################################### 100.0%
==> Pouring libtool-2.4.6.yosemite.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
๐บ /Users/stanleycheung/homebrew/Cellar/libtool/2.4.6: 69 files, 3.8M
==> Installing protobuf
==> Downloading https://github.com/google/protobuf/archive/v3.0.0-alpha-2.tar.gz
######################################################################### 100.0%
==> ./autogen.sh
==> ./configure --prefix=/Users/stanleycheung/homebrew/Cellar/protobuf/3.0.0-alp
==> make
==> make install
==> Downloading https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz
######################################################################### 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/private/tmp/p
==> Downloading https://pypi.python.org/packages/source/p/python-dateutil/python
######################################################################### 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/private/tmp/p
==> Downloading https://pypi.python.org/packages/source/p/pytz/pytz-2014.10.tar.
######################################################################### 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/private/tmp/p
==> Downloading https://pypi.python.org/packages/source/p/python-gflags/python-g
######################################################################### 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/private/tmp/p
==> Downloading https://pypi.python.org/packages/source/g/google-apputils/google
######################################################################### 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/private/tmp/p
==> python -c import setuptools... --no-user-cfg install --prefix=/Users/stanley
==> Caveats
Editor support and examples have been installed to:
/Users/stanleycheung/homebrew/Cellar/protobuf/3.0.0-alpha-2/share/doc/protobuf
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/stanleycheung/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/Users/stanleycheung/homebrew/lib/python2.7/site-packages")' >> /Users/stanleycheung/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
๐บ /Users/stanleycheung/homebrew/Cellar/protobuf/3.0.0-alpha-2: 169 files, 9.2M, built in 69 seconds
==> Tapping grpc/grpc
Cloning into '/Users/stanleycheung/homebrew/Library/Taps/grpc/homebrew-grpc'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9 (delta 0), reused 8 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
Checking connectivity... done.
Tapped 1 formula (35 files, 148K)
==> Installing grpc from grpc/homebrew-grpc
==> Cloning https://github.com/grpc/grpc.git
Cloning into '/Library/Caches/Homebrew/grpc--git'...
remote: Counting objects: 1499, done.
remote: Compressing objects: 100% (1228/1228), done.
remote: Total 1499 (delta 680), reused 499 (delta 208), pack-reused 0
Receiving objects: 100% (1499/1499), 1.67 MiB | 2.11 MiB/s, done.
Resolving deltas: 100% (680/680), done.
Checking connectivity... done.
remote: Counting objects: 1767, done.
remote: Total 1767 (delta 0), reused 0 (delta 0), pack-reused 1767
Receiving objects: 100% (1767/1767), 1.25 MiB | 0 bytes/s, done.
Resolving deltas: 100% (1016/1016), done.
remote: Counting objects: 166546, done.
remote: Compressing objects: 100% (294/294), done.
remote: Total 166546 (delta 107), reused 0 (delta 0), pack-reused 166248
Receiving objects: 100% (166546/166546), 63.17 MiB | 3.27 MiB/s, done.
Resolving deltas: 100% (132175/132175), done.
remote: Counting objects: 20271, done.
remote: Total 20271 (delta 0), reused 0 (delta 0), pack-reused 20271
Receiving objects: 100% (20271/20271), 26.02 MiB | 9.50 MiB/s, done.
Resolving deltas: 100% (13659/13659), done.
remote: Counting objects: 4194, done.
remote: Total 4194 (delta 0), reused 0 (delta 0), pack-reused 4194
Receiving objects: 100% (4194/4194), 3.49 MiB | 2.23 MiB/s, done.
Resolving deltas: 100% (2453/2453), done.
==> Checking out branch master
==> make install prefix=/Users/stanleycheung/homebrew/Cellar/grpc/HEAD
๐บ /Users/stanleycheung/homebrew/Cellar/grpc/HEAD: 85 files, 5.1M, built in 47 seconds
installing grpc python
/Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Collecting grpcio
/Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading grpcio-0.5.0a2.tar.gz (88kB)
100% |################################| 90kB 505kB/s
๏ฟฝ[?25hCollecting enum34==1.0.4 (from grpcio)
Downloading enum34-1.0.4.tar.gz
Collecting futures==2.2.0 (from grpcio)
Downloading futures-2.2.0-py2.py3-none-any.whl
Collecting protobuf==3.0.0-alpha-1 (from grpcio)
Downloading protobuf-3.0.0-alpha-1.tar.gz (193kB)
100% |################################| 196kB 2.0MB/s
๏ฟฝ[?25hRequirement already satisfied (use --upgrade to upgrade): setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from protobuf==3.0.0-alpha-1->grpcio)
Installing collected packages: enum34, futures, protobuf, grpcio
Running setup.py install for enum34
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/16/js0vwqkj3zdc7s1h7jzr8tcm00985b/T/pip-build-jpYBIx/enum34/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/16/js0vwqkj3zdc7s1h7jzr8tcm00985b/T/pip-AjvJPV-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/enum
copying enum/__init__.py -> build/lib/enum
copying enum/enum.py -> build/lib/enum
copying enum/test_enum.py -> build/lib/enum
copying enum/LICENSE -> build/lib/enum
copying enum/README -> build/lib/enum
creating build/lib/enum/doc
copying enum/doc/enum.rst -> build/lib/enum/doc
running install_lib
creating /Library/Python/2.7/site-packages/enum
error: could not create '/Library/Python/2.7/site-packages/enum': Permission denied
----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/16/js0vwqkj3zdc7s1h7jzr8tcm00985b/T/pip-build-jpYBIx/enum34/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/16/js0vwqkj3zdc7s1h7jzr8tcm00985b/T/pip-AjvJPV-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/16/js0vwqkj3zdc7s1h7jzr8tcm00985b/T/pip-build-jpYBIx/enum34
stanleycheung@stanleycheung-macbookpro:~$