Skip to content

Instantly share code, notes, and snippets.

@markpasc
Created February 7, 2012 22:48
Show Gist options
  • Save markpasc/1762659 to your computer and use it in GitHub Desktop.
Save markpasc/1762659 to your computer and use it in GitHub Desktop.
pip installing riak (and protobuf 2.4.1)
Last login: Tue Feb 7 17:26:28 on ttys000
markpasc@markpascbook:~$ cd Work/
markpasc@markpascbook:~/Work$ mkdir riaktest
riaktest
markpasc@markpascbook:~/Work$ cd riaktest/
markpasc@markpascbook:~/Work/riaktest$ virtualenv env
New python executable in env/bin/python
Installing distribute....................................................................................................................................................................................done.
Installing pip...............done.
markpasc@markpascbook:~/Work/riaktest$ python --version
Python 2.7.1
markpasc@markpascbook:~/Work/riaktest$ . env/bin/activate
(env)markpasc@markpascbook:~/Work/riaktest$ pip install riak
Downloading/unpacking riak
User for bitbucket.org:
Password:
Downloading riak-1.3.0.tar.gz
Running setup.py egg_info for package riak
Downloading/unpacking protobuf>=2.3.0 (from riak)
Downloading protobuf-2.4.1.tar.bz2 (1.4Mb): 1.4Mb downloaded
Running setup.py egg_info for package protobuf
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/markpasc/Work/riaktest/env/build/protobuf/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/markpasc/Work/riaktest/env/build/protobuf/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/markpasc/.pip/pip.log
(env)markpasc@markpascbook:~/Work/riaktest$ ls env/build/protobuf/setup.py
ls: env/build/protobuf/setup.py: No such file or directory
(env)markpasc@markpascbook:~/Work/riaktest$ ls env/build/protobuf/
total 2208
-rw-r--r-- 1 markpasc staff 22597 Feb 7 17:45 CHANGES.txt
-rw-r--r-- 1 markpasc staff 3527 Feb 7 17:45 CONTRIBUTORS.txt
-rw-r--r-- 1 markpasc staff 1732 Feb 7 17:45 COPYING.txt
-rw-r--r-- 1 markpasc staff 9537 Feb 7 17:45 INSTALL.txt
-rw-r--r-- 1 markpasc staff 12898 Feb 7 17:45 Makefile.am
-rw-r--r-- 1 markpasc staff 38211 Feb 7 17:45 Makefile.in
-rw-r--r-- 1 markpasc staff 5311 Feb 7 17:45 README.txt
-rw-r--r-- 1 markpasc staff 34897 Feb 7 17:45 aclocal.m4
-rw-r--r-- 1 markpasc staff 1519 Feb 7 17:45 autogen.sh
-rw-r--r-- 1 markpasc staff 45612 Feb 7 17:45 config.guess
-rw-r--r-- 1 markpasc staff 3709 Feb 7 17:45 config.h.in
-rw-r--r-- 1 markpasc staff 34069 Feb 7 17:45 config.sub
-rw-r--r-- 1 markpasc staff 572167 Feb 7 17:45 configure
-rw-r--r-- 1 markpasc staff 4798 Feb 7 17:45 configure.ac
-rw-r--r-- 1 markpasc staff 18615 Feb 7 17:45 depcomp
drwxr-xr-x 5 markpasc staff 170 Feb 7 17:45 editors/
drwxr-xr-x 11 markpasc staff 374 Feb 7 17:45 examples/
-rw-r--r-- 1 markpasc staff 1105 Feb 7 17:45 generate_descriptor_proto.sh
drwxr-xr-x 23 markpasc staff 782 Feb 7 17:45 gtest/
-rw-r--r-- 1 markpasc staff 13663 Feb 7 17:45 install-sh
drwxr-xr-x 5 markpasc staff 170 Feb 7 17:45 java/
-rw-r--r-- 1 markpasc staff 243469 Feb 7 17:45 ltmain.sh
drwxr-xr-x 11 markpasc staff 374 Feb 7 17:45 m4/
-rw-r--r-- 1 markpasc staff 11419 Feb 7 17:45 missing
drwxr-xr-x 2 markpasc staff 68 Feb 7 17:45 pip-egg-info/
-rw-r--r-- 1 markpasc staff 408 Feb 7 17:45 protobuf-lite.pc.in
-rw-r--r-- 1 markpasc staff 415 Feb 7 17:45 protobuf.pc.in
drwxr-xr-x 8 markpasc staff 272 Feb 7 17:45 python/
drwxr-xr-x 6 markpasc staff 204 Feb 7 17:45 src/
drwxr-xr-x 14 markpasc staff 476 Feb 7 17:45 vsprojects/
(env)markpasc@markpascbook:~/Work/riaktest$ ls env/build/protobuf/python/
total 144
-rw-r--r-- 1 markpasc staff 3580 Feb 7 17:45 README.txt
-rw-r--r-- 1 markpasc staff 10334 Feb 7 17:45 ez_setup.py
drwxr-xr-x 4 markpasc staff 136 Feb 7 17:45 google/
-rw-r--r-- 1 markpasc staff 38237 Feb 7 17:45 mox.py
-rw-r--r-- 1 markpasc staff 5919 Feb 7 17:45 setup.py
-rw-r--r-- 1 markpasc staff 4940 Feb 7 17:45 stubout.py
(env)markpasc@markpascbook:~/Work/riaktest$ pip install -d . 'protobuf>=2.3.0'
Downloading/unpacking protobuf>=2.3.0
Downloading protobuf-2.4.1.tar.bz2 (1.4Mb): 1.4Mb downloaded
Saved ./protobuf-2.4.1.tar.bz2
Successfully downloaded protobuf
(env)markpasc@markpascbook:~/Work/riaktest$ tar xf protobuf-2.4.1.tar.bz2
(env)markpasc@markpascbook:~/Work/riaktest$ cd protobuf-2.4.1
(env)markpasc@markpascbook:~/Work/riaktest/protobuf-2.4.1$ cd python/
(env)markpasc@markpascbook:~/Work/riaktest/protobuf-2.4.1/python$ pip install .
Unpacking /Users/markpasc/Work/riaktest/protobuf-2.4.1/python
Running setup.py egg_info for package from file:///Users/markpasc/Work/riaktest/protobuf-2.4.1/python
Can't find required file: ../src/google/protobuf/descriptor.proto
Complete output from command python setup.py egg_info:
Can't find required file: ../src/google/protobuf/descriptor.proto
----------------------------------------
Command python setup.py egg_info failed with error code 255
Storing complete log in /Users/markpasc/.pip/pip.log
(env)markpasc@markpascbook:~/Work/riaktest/protobuf-2.4.1/python$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment