Skip to content

Instantly share code, notes, and snippets.

@tseaver
Created September 22, 2014 19:44
Show Gist options
  • Save tseaver/0531a23cf6ca58fefcea to your computer and use it in GitHub Desktop.
Save tseaver/0531a23cf6ca58fefcea to your computer and use it in GitHub Desktop.
protobuf Py3K test
$ /opt/Python-3.3.3/bin/virtualenv /tmp/protobuf-py3k
Using base prefix '/opt/Python-3.3.3'
New python executable in /tmp/protobuf-py3k/bin/python3
Also creating executable in /tmp/protobuf-py3k/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
$ /tmp/protobuf-py3k/bin/pip install protobuf
Downloading/unpacking protobuf
Downloading protobuf-2.6.0.tar.gz (187kB): 187kB downloaded
Running setup.py egg_info for package protobuf
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/protobuf-py3k/build/protobuf/setup.py", line 199, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/opt/Python-3.3.3/lib/python3.3/distutils/core.py", line 109, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 618, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 862, in best_match
return self.obtain(req, installer) # try and download/install
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 874, in obtain
return installer(requirement)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 339, in fetch_build_egg
return cmd.easy_install(req)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 653, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
run_setup(setup_script, args)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 69, in run_setup
lambda: execfile(
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 120, in run
return func()
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 71, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/compat.py", line 92, in execfile
exec_(compile(source, fn, 'exec'), globs, locs)
File "setup.py", line 18, in <module>
sys.stderr.write(
File "/tmp/easy_install-z3l95l/google-apputils-0.4.0/ez_setup.py", line 79
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/protobuf-py3k/build/protobuf/setup.py", line 199, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/opt/Python-3.3.3/lib/python3.3/distutils/core.py", line 109, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 618, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 862, in best_match
return self.obtain(req, installer) # try and download/install
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/pkg_resources.py", line 874, in obtain
return installer(requirement)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/dist.py", line 339, in fetch_build_egg
return cmd.easy_install(req)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 653, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
run_setup(setup_script, args)
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 69, in run_setup
lambda: execfile(
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 120, in run
return func()
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/sandbox.py", line 71, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "/tmp/protobuf-py3k/lib/python3.3/site-packages/setuptools/compat.py", line 92, in execfile
exec_(compile(source, fn, 'exec'), globs, locs)
File "setup.py", line 18, in <module>
sys.stderr.write(
File "/tmp/easy_install-z3l95l/google-apputils-0.4.0/ez_setup.py", line 79
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/protobuf-py3k/build/protobuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment